This is the mail archive of the
mailing list for the Cygwin project.
Encoding of German 'umlauts' - please explain
- From: Ronald Fischer <ronaldf at eml dot cc>
- To: cygwin at cygwin dot com
- Date: Thu, 24 Sep 2009 08:17:42 +0000 (UTC)
- Subject: Encoding of German 'umlauts' - please explain
Maybe someone could enlighten me about the following:
On Cygwin bash I see
$ echo Ã | od -cx
0000000 374 \n
That means, the German letter Ã has encoding 0xFC. If I do the same on CMD shell
(the 'od' used here comes from the Gnu Utilities for Windows), I see:
echo Ã | od -cx
0000000 201 \r \n
That is, Ã is encoded as 0x81. Why is this different?
I am aware that, for historic reason, different encodings exist (the old
DOS encoding, Windows ANSI encoding etc.). I wouldn't have expected those
differences, however, when comparing bash.exe vs. cmd.exe.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple