From: "Eli Zaretskii" <eliz@gnu.org>
Subject: Re: opening files with unicode characters in the file name on windows
Date: Tue, 03 Aug 2004 22:19:31 +0300 [thread overview]
Message-ID: <7494-Tue03Aug2004221931+0300-eliz@gnu.org> (raw)
In-Reply-To: <uwu0ghguo.fsf@hotmail.com> (message from Mathias Dahl on 03 Aug 2004 08:32:15 +0200)
> From: Mathias Dahl <brakjoller@hotmail.com>
> Newsgroups: gnu.emacs.help
> Date: 03 Aug 2004 08:32:15 +0200
>
> > Does (setq file-name-coding-system 'utf-8) help?
>
> No, even though it was a very interesting option. When I set
> that variable I can *save* files and the file names looks
> very cryptic in explorer.exe, probably because Windows use
> UTF-16
Your original message said ``file names with Unicode characters''.
Can you tell what characters are those, and why do you think they are
encoded in some Unicode-related encoding, like UTF-16? Can you look
at the file's name as recorded in the directory with some low-level
tool that actually shows the byte values that encode the file's name?
You see, I suspect that Windows file names are encoded in the system
codepage, not in UTF-16. So perhaps setting file-name-coding-system
to that codepage would solve the problem.
next prev parent reply other threads:[~2004-08-03 19:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-02 12:53 opening files with unicode characters in the file name on windows Mathias Dahl
2004-08-02 16:14 ` Kevin Rodgers
2004-08-03 6:32 ` Mathias Dahl
2004-08-03 19:19 ` Eli Zaretskii [this message]
[not found] ` <mailman.2622.1091561203.1960.help-gnu-emacs@gnu.org>
2004-08-04 7:46 ` Mathias Dahl
2004-08-04 7:56 ` Jason Rumney
2004-08-04 8:42 ` Mathias Dahl
2004-08-04 16:29 ` Eli Zaretskii
[not found] ` <mailman.2714.1091637376.1960.help-gnu-emacs@gnu.org>
2004-08-05 11:28 ` Mathias Dahl
2004-08-06 9:38 ` Eli Zaretskii
[not found] ` <mailman.112.1091785538.2011.help-gnu-emacs@gnu.org>
2004-08-06 11:44 ` Mathias Dahl
2004-08-06 13:08 ` Mathias Dahl
2004-08-04 14:27 ` Mathias Dahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7494-Tue03Aug2004221931+0300-eliz@gnu.org \
--to=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).