-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 5/27/2014 10:05 AM, Phillip Susi wrote: > On 5/27/2014 4:27 AM, Aurelien Jarno wrote: >> That is wrong. 0xBD in CP437 or CP850 page code is '╜' which >> corresponds to character U+255C as iconv says. > > Not according to the table listed on > http://en.wikipedia.org/wiki/Code_page_437. > > According to it, 0xBD is the 1/2 character. Also that is what 0xBD > is shown as under emacs, as well as in Windows notepad.
It seems that iconv thinks that U+00BD maps to 0xAB in CP-437, which seems to be incorrect according to that wikipedia page, as well as this one from Microsoft: http://msdn.microsoft.com/en-us/library/aa245259%28v=vs.60%29.aspx And http://en.wikipedia.org/wiki/ISO/IEC_8859-1. 8859 is supposed to be a superset of cp-437 and also lists the 1/2 character as 0xBD. Now this is where things get really weird. On Windows, if I open notepad and type alt-0189 to enter the ½ character, it saves it as 0xBD. If I type that file from a command prompt however, it shows up as the '╜'. If I cat the file from a mingw32 bash shell, it shows up as ½. If I open it in Word, it asks me how to interpret it. If I select Windows Western European, it shows up as ½, and I think this corresponds to windows CP-1252, which also has that character as 0xBD according to wikipedia. If I tell Word to use "MS-DOS ( OEM Default )", then it comes up as ╜ instead. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJThNiGAAoJEI5FoCIzSKrwI14IAKwErB9PLwpw2FJgDHOYtJRS iW0QkhFopWMgF3CLRFQXNslNp3BJHfQh2PQOIVtSmOOtRwQPUcPL1VYmtBTfVR+/ VjzyZae16Jnbtso6TzsuhpKdBMqVqvdo5UH2cYvSx58Pnpft7yfkqAkOMWNJs0vc MlJm0skffXWeB+kmZ2GWqrz19YW/CXOxQK+nOmJ8Wa7ajkNZlbvvlTdx/sdb6ywZ HeD5u+SsVWfnPLrBe4/+xG2hO4gInTQnnbIXOU1bqNKBGbgoojS5t/hp0Vm/w7lA SQ7pKiUkx1npg3K4cUrmDYfdb9aGjhJaluZuOMVfBjel5XqN8IWt5/YiedG1yv0= =EfPb -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org