newlisp-tk localization
Posted: Wed Oct 18, 2006 11:41 am
Hello.
Maybe it is a general question but I experience it in win2k/xp.
In newlisp-tk:
> (set-locale "") ==> "Hungarian_Hungary.1250"
After this some characters look with wrong shape (these
are special Hungarian "accented" characters) but their
codes are ok (characters with that code look in notepad
well...)
> (tk "encoding system") ==> "identity"
I don't know what does it mean in this case, and
> (tk "encoding names") ==> "utf-8 identity unicode"
I think these are possible.
What should I do for good-looking characters?
Note, that newlisp exe works well if I set the locale
"Hungarian_Hungary.852" and not .1250 which I get
back from (set-locale ""). (It is maybe just because
shell/command prompt uses different codepage and
set-locale ask windows, not the shell.)
Thank you for your help.
Regards
Peter
ps. Sorry for the long post with weak English.
Maybe it is a general question but I experience it in win2k/xp.
In newlisp-tk:
> (set-locale "") ==> "Hungarian_Hungary.1250"
After this some characters look with wrong shape (these
are special Hungarian "accented" characters) but their
codes are ok (characters with that code look in notepad
well...)
> (tk "encoding system") ==> "identity"
I don't know what does it mean in this case, and
> (tk "encoding names") ==> "utf-8 identity unicode"
I think these are possible.
What should I do for good-looking characters?
Note, that newlisp exe works well if I set the locale
"Hungarian_Hungary.852" and not .1250 which I get
back from (set-locale ""). (It is maybe just because
shell/command prompt uses different codepage and
set-locale ask windows, not the shell.)
Thank you for your help.
Regards
Peter
ps. Sorry for the long post with weak English.