Hello Johan,
Monday, October 6, 2003, 7:58:59 PM, you wrote:
JL> At 16:14 2003-10-06, YANDEX wrote:
>>how can I encode german letters Ø,Ä,Ã und ñ in my GUI programm
>>html-encoding don't help me: I already tried ü , ü .
JL> For åäö (I'm Swedish) I just enter the Latin-1 characters in my
JL> Windows-editor. Latin-1 is the "default" in Windows.
Yes, in West Europa, but not in East Europa :-((
I'm writting a Perl GUI script for use in Poland, Russian, Bulgaria
and so on. My GUI hat labels and window content in German, because
it must display "öüäß" on all computer with windows installed. I read just now
perllocale, utf8 and perlunicode but don't have yet some worked solution.
JL> This works for me when assigning -text options in e.g. a Label.
JL> If it doesn't work for you, please provide failing code samples.
e.g. simple:
print "Köln";
or
$Window->Combobox_Marke->AddString("Geländewagen");
now try to switch charset in your Email programm to ... koi-8r and you
got what see people easter from Germany :-(
I used earlier html interface but now I change to Win32::GUI. In html
code I wrote "Köln" and this was right in all languages and any
browser.
>> How can I use unicode?
JL> For the chars above, you don't have to, just stick with Latin-1. It's most
JL> often the default if you use a Windows-editor (Notepad, UltraEdit etc). If
JL> you TYPE the files from a DOS window, the chars will not look ok.
I'm not sure yet, but I think unicode is good for my case.
JL> /J
JL> -- --- -- -- -- - - - - -
JL> Johan Lindstrom CasinoSeek
JL> [EMAIL PROTECTED]
JL> www.casino.com www.casinoseek.com
--
Best regards,
YANDEXmailto:[EMAIL PROTECTED]