[perl-win32-gui-users] how can I write german's umlauts?

2003-10-06 Thread YANDEX
Hello perl-win32-gui-users,

how can I encode german letters ь,д,ц und Я in my GUI programm
   html-encoding don't help me: I already tried ü , ü .

  How can I use unicode? 


-- 
Best regards,
Pawel Prostin




Re: [perl-win32-gui-users] how can I write german's umlauts?

2003-10-06 Thread Johan Lindstrom

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 ü , ü .


For åäö (I'm Swedish) I just enter the Latin-1 characters in my 
Windows-editor. Latin-1 is the "default" in Windows.


This works for me when assigning -text options in e.g. a Label.

If it doesn't work for you, please provide failing code samples.



  How can I use unicode?


For the chars above, you don't have to, just stick with Latin-1. It's most 
often the default if you use a Windows-editor (Notepad, UltraEdit etc). If 
you TYPE the files from a DOS window, the chars will not look ok.



/J

--  --- -- -- -- -  -   -    -    -
Johan Lindstrom  CasinoSeek
[EMAIL PROTECTED]
 www.casino.com  www.casinoseek.com




Re[2]: [perl-win32-gui-users] how can I write german's umlauts?

2003-10-06 Thread YANDEX
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]