Fixed: HxD: ANSI charset does not depend on default codepage

Bug reports concerning HxD.
Post Reply
alkisg
Posts: 4
Joined: 07 Jun 2005 14:42

Fixed: HxD: ANSI charset does not depend on default codepage

Post by alkisg » 21 Apr 2006 16:26

Hi Maël,

on a PC with Greek as the default system locale for non-unicode programs, shouldn't chars in the range [$80..$FF] be displayed using windows-1253 codepage?

Simply put, if I open an ANSI text file on HxD, I can't see Greek chars, I see the equivelant windows-1250 chars...

You can use GetACP to detect the system ANSI codepage.

Regards,
Alkis

Maël
Site Admin
Posts: 1164
Joined: 12 Mar 2005 14:15

Post by Maël » 23 Apr 2006 17:09

Hi Alkis,
you will see the Windows-1252 charset as I hardcoded it, due to drawing problems there are when HxD is used on Asian systems (multibyte-issues).

I thought of a solution also including UTF-8 support, meanwhile I could implement a way to use the charset from the system locale if it is non-multibyte or switch back to Windows-1252 if it is.

Maël.

Maël
Site Admin
Posts: 1164
Joined: 12 Mar 2005 14:15

Post by Maël » 26 May 2006 17:12

Fixed: Used the user locale for non-multibyte charsets.

Post Reply