unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 6974@debbugs.gnu.org
Subject: bug#6974: Emacs doesn't like Swedish ä (on w32)
Date: Fri, 03 Sep 2010 11:08:33 +0300	[thread overview]
Message-ID: <83vd6ni70e.fsf@gnu.org> (raw)
In-Reply-To: <AANLkTinOD6te0UfaUsiLproqyM8zMKBoKjbt-TjL4dC-@mail.gmail.com>

> From: Lennart Borgman <lennart.borgman@gmail.com>
> Date: Thu, 2 Sep 2010 23:58:04 +0200
> Cc: 
> 
> * After M-x set-language-environment RET utf-8 RET and then opening a
> new org file.
> 
> When choosing the file the char "ä" is shown as \344. It looks the
> same when inserted in the buffer as an org link to the file.

set-language-environment changes the defaults for various
coding-systems, including file-name-coding-system that's used for
decoding file names.  On Windows, you should _never_ have
file-name-coding-system different from the current codepage, because
that's the only encoding of file names Emacs can currently support on
Windows.  (The other one is UTF-16, which is how Windows encodes file
names on the disk, but Emacs does not yet support that, because such
support would need to switch all the file APIs to use wide
characters.)

So the question is: what is your value of file-name-coding-system,
after you invoke set-language-environment?  If it's anything but your
current Windows codepage, set it back with "C-x RET F" (note: capital
F).






  parent reply	other threads:[~2010-09-03  8:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-02 21:58 bug#6974: Emacs doesn't like Swedish ä (on w32) Lennart Borgman
2010-09-03  1:44 ` Jason Rumney
2010-09-03 11:20   ` Lennart Borgman
2010-09-03  8:03 ` Andreas Röhler
2010-09-03  9:01   ` Eli Zaretskii
2010-09-03  9:46     ` Andreas Röhler
2010-09-03 13:49       ` Eli Zaretskii
2010-09-03 16:23         ` Andreas Röhler
2010-09-03 17:59           ` Eli Zaretskii
2010-09-03 19:33             ` Andreas Röhler
2010-09-03 21:05               ` Eli Zaretskii
2010-09-04  6:22                 ` Andreas Röhler
2010-09-04  6:43                   ` Eli Zaretskii
2010-09-04  7:30                     ` Andreas Röhler
2010-09-04  8:16                       ` bug#6971: " Eli Zaretskii
2010-09-03  8:08 ` Eli Zaretskii [this message]
2010-09-03 11:19   ` Lennart Borgman
2010-09-03 11:59     ` Lennart Borgman
2010-09-03 13:38       ` bug#6974: " Eli Zaretskii

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=83vd6ni70e.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=6974@debbugs.gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).