Page 1 of 1

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

Posted: 21 Apr 2006 16:26
by alkisg
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.


Posted: 23 Apr 2006 17:09
by Maël
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.


Posted: 26 May 2006 17:12
by Maël
Fixed: Used the user locale for non-multibyte charsets.