From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: bug#6974: Emacs doesn't like Swedish ä (on w32)
Date: Fri, 03 Sep 2010 11:46:00 +0200 [thread overview]
Message-ID: <4C80C3D8.5020308@easy-emacs.de> (raw)
In-Reply-To: <83tym7i4jj.fsf@gnu.org>
Am 03.09.2010 11:01, schrieb Eli Zaretskii:
>> Date: Fri, 03 Sep 2010 10:03:32 +0200
>> From: Andreas Röhler<andreas.roehler@easy-emacs.de>
>> Cc:
>>
>> seeing the similar:
>>
>> when opening a file containing non-ascii chars, german
>> umlauts for example, in some case these aren't shown
>> as glyphs but as numbers.
>
> This is a different problem entirely, please file a separate bug
> report
done with bug#6941
(although my guess is that this is some cockpit error on your
> part,
a theoretically possible source might be code from some
auto-saved-buffer-file mangled in (?), even if not noticed that.
so perhaps discussing this on emacs-devel is a better way of
> resolving it).
>
>> See screenshot attached how the following code looks
>> like:
>>
>> (define-abbrev-table
>> 'global-abbrev-table
>> '(("Infinity" "∞" nil 0)
>> ("alpha" "α" nil 2)
>> ("beta" "β" nil 1)
>> ("gamma" "γ" nil 1)
>> ("theta" "θ" nil 0)))
>
> The screenshot shows "t" at the mode-line's left edge, which means
> Emacs decoded the file's contents with raw-text coding-system.
> raw-text interprets all non-ASCII characters as raw bytes, and
> displays them as such, with octal escapes.
>
> The most probable reason for Emacs not to decode the file correctly
> (as UTF-8) is that the file includes some bytes that are invalid UTF-8
> sequences. What happens if you force UTF-8 with "C-x RET c" before
> visiting the file with "C-x C-f"?
>
All fine at the first glance than.
However, re-opening the newly saved buffer repeats the wrong display.
Also when saving, it always prompts for coding-system, suggests raw-text
first.
Setting buffer-file-coding-system explicitly to utf-8-unix, followed by
a save, doesn't change the wrong display after new opening.
Difference so for from earlier, it accepts a save at all.
next prev parent reply other threads:[~2010-09-03 9:46 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 [this message]
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
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=4C80C3D8.5020308@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=bug-gnu-emacs@gnu.org \
--cc=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.
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).