Re: incorrect hex number in editor
- From: Nerijus Baliunas <nerijus users sourceforge net>
- To: mc-devel gnome org
- Cc: Egmont Koblinger <egmont uhulinux hu>
- Subject: Re: incorrect hex number in editor
- Date: Tue, 5 Sep 2006 14:05:45 +0300
On Tue, 5 Sep 2006 12:56:34 +0200 Egmont Koblinger <egmont uhulinux hu> wrote:
> Now I'm playing with my mc (not Fedora, but most likely nearly the same
> UTF-8 patches) in non-UTF-8 mode.
>
> With the hu_HU locale (iso-8859-2) I get: 0x102, 0x17A, 0x139, 0x164.
> With en_US the hex codes displayed are: 0xC3 0xBC 0xC5 0xAB.
> The later one is perfect, the first one is faulty.
> With C locale you get: 0xFFEC3, 0xFFEBC, 0xFFEC5, 0xFFEAB.
>
> So you're right, there's a bug somewhere in the UTF-8 patch, and its
> behaviour depends on the exact locale. What locale do you have?
lt_LT.ISO8859-13
> Does it work
> perfectly for you with an iso-8859-1 locale?
Yes, with en_US.ISO-8859-1 it shows correct hex codes.
Regards,
Nerijus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]