Re: incorrect hex number in editor [patch]

2006-09-05 Thread Jindrich Novy
On Tue, 2006-09-05 at 13:47 +0200, Egmont Koblinger wrote: > Here you are. Apply it after the big utf8 patch. > Ah, I see I came a bit late :) Thanks for the patch Egmont. Jindrich -- Jindrich Novy <[EMAIL PROTECTED]>, http://people.redhat.com/jnovy/ (o_

Re: incorrect hex number in editor

2006-09-05 Thread Jindrich Novy
On Tue, 2006-09-05 at 13:33 +0300, Nerijus Baliunas wrote: > But it should either show correct hex codes or correct UTF-8 letters, which it > does not. BTW, I am not using UTF-8 locale. This is quite important since I assume that you use UTF-8 locale which is default in Fedora. In that case I unde

Re: incorrect hex number in editor [patch]

2006-09-05 Thread Egmont Koblinger
Here you are. Apply it after the big utf8 patch. -- Egmont diff -Naur mc-4.6.1.orig/edit/editdraw.c mc-4.6.1/edit/editdraw.c --- mc-4.6.1.orig/edit/editdraw.c 2006-09-05 13:14:51.0 +0200 +++ mc-4.6.1/edit/editdraw.c2006-09-05 13:42:50.0 +0200 @@ -57,12 +57,22 @@ *

Re: incorrect hex number in editor

2006-09-05 Thread Egmont Koblinger
> 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. Okay, got it: these are the Unicode codes of the symbols that are actually displayed. In other words: the byte over which your cursor stands is converted from the

Re: incorrect hex number in editor

2006-09-05 Thread Nerijus Baliunas
On Tue, 5 Sep 2006 12:56:34 +0200 Egmont Koblinger <[EMAIL PROTECTED]> 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 displaye

Re: incorrect hex number in editor

2006-09-05 Thread Egmont Koblinger
On Tue, Sep 05, 2006 at 01:33:17PM +0300, Nerijus Baliunas wrote: > But it should either show correct hex codes or correct UTF-8 letters, which it > does not. Yes, perfectly right. > BTW, I am not using UTF-8 locale. Now I'm playing with my mc (not Fedora, but most likely nearly the same UTF-8

Re: incorrect hex number in editor

2006-09-05 Thread Nerijus Baliunas
On Tue, 5 Sep 2006 12:18:54 +0200 Egmont Koblinger <[EMAIL PROTECTED]> wrote: > Fedora is using mc with the UTF-8 patches, and provides a full UTF-8 > environment, right? > > Then the file you described above should display as 2 characters, a > LATIN SMALL LETTER U WITH DIAERESIS > followed by a

Re: incorrect hex number in editor

2006-09-05 Thread Egmont Koblinger
On Tue, Sep 05, 2006 at 09:09:01AM +0300, Nerijus Baliunas wrote: > I updated to 4.6.1a-26.fc5 and the problem is still here. > > > attached file is 0xC3 0xBC 0xC5 0xAB (you can check with > > > any hex editor or mc viewer in hex mode), but editor > > > shows it (in the last column of the first l

Re: incorrect hex number in editor

2006-09-04 Thread Nerijus Baliunas
Hello, I updated to 4.6.1a-26.fc5 and the problem is still here. Nerijus On Sat, 02 Sep 2006 08:28:52 +0200 Jindrich Novy <[EMAIL PROTECTED]> wrote: > Hi Nerijus, > > this doesn't happen in the rawhide mc-4.6.1-25.fc6 which contains the > mc-2006-08-12-18.tar.gz snapshot. I'll sync both the ve

Re: incorrect hex number in editor

2006-09-01 Thread Jindrich Novy
Hi Nerijus, this doesn't happen in the rawhide mc-4.6.1-25.fc6 which contains the mc-2006-08-12-18.tar.gz snapshot. I'll sync both the versions and release FC5 update to fix it. Jindrich On Fri, 2006-09-01 at 02:17 +0300, Nerijus Baliunas wrote: > Hello, > > attached file is 0xC3 0xBC 0xC5 0xAB

incorrect hex number in editor

2006-08-31 Thread Nerijus Baliunas
Hello, attached file is 0xC3 0xBC 0xC5 0xAB (you can check with any hex editor or mc viewer in hex mode), but editor shows it (in the last column of the first line) as 0x106 0xBC 0xC5 0xAB. Latest mc from FC5 (2006-06-30-18). Regards, Nerijus ZZ.txt Description: Binary data