Re: Unicode on Windows Console

2012-01-12 Thread Michael Ludwig
Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 schrieb am 12.01.2012 um 09:54 (+0100): > Run `chcp 65001`, see . I have not > tested this. Okay, that's just the regular chcp command. > Setting the encoding to Windows-1252 and then expecting to be able to > talk variations of UTF to it seems wro

Re: Unicode on Windows Console

2012-01-12 Thread Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯
Run `chcp 65001`, see . I have not tested this. Setting the encoding to Windows-1252 and then expecting to be able to talk variations of UTF to it seems wrong. signature.asc Description: PGP signature

Re: Unicode on Windows Console

2012-01-11 Thread Michael Ludwig
Michael Ludwig schrieb am 07.01.2012 um 18:30 (+0100): > There's a WinAPI function that sets stdout to Unicode so you can > read Cyrillic and Greek characters in the cmd.exe console window: > Can I get the same feature in Perl? Yes: https://metacpan.org/module/Win32::Unicode Printing twelve hear

Unicode on Windows Console

2012-01-07 Thread Michael Ludwig
There's a WinAPI function that sets stdout to Unicode so you can read Cyrillic and Greek characters in the cmd.exe console window: \,,,/ (o o) --oOOo-(_)-oOOo-- // http://msdn.microsoft.com/en-us/library/tw4k6df8.aspx - _setmode // crt_setmodeunicode.c // This program u

Re: unicode on windows

2003-11-21 Thread Neelima Bandla
I am using windows XP and Perl5.8.1 Thanks, Neelima --- John Delacour <[EMAIL PROTECTED]> wrote: > At 12:01 pm -0800 21/11/03, Neelima Bandla wrote: > > yes I got the same thing as well. > > > > 徉房徉房 > > That's not what I got, but the Kanji. You may have > seen that in my > email bec

Re: unicode on windows

2003-11-21 Thread John Delacour
[ sent as utf8 ] At 6:13 pm -0800 20/11/03, Neelima Bandla wrote: I am trying to create a japanese file on a windows machine, Below is the code I am using to do so. my @array = (0x5f89 ,0x623f,0x5f89,0x623f); my $str1 = pack("U*", @array); open(FD, ">$filepath\\$str1") or di

RE: unicode on windows

2003-11-21 Thread Nick Ing-Simmons
Edward Batutis <[EMAIL PROTECTED]> writes: >> Also each character when I view it via character >> listing of IME pad, it has three hex numbers. > >Seeing three hex numbers per character is a sure sign you've got utf8. You >need to convert the characters to the platform encoding before using 'open'

RE: unicode on windows

2003-11-20 Thread Edward Batutis
> Also each character when I view it via character > listing of IME pad, it has three hex numbers. Seeing three hex numbers per character is a sure sign you've got utf8. You need to convert the characters to the platform encoding before using 'open'. In fact, I believe you have to wrap conversion

unicode on windows

2003-11-20 Thread Neelima Bandla
Hi, I am trying to create a japanese file on a windows machine, Below is the code I am using to do so. my @array = (0x5f89 ,0x623f,0x5f89,0x623f); my $str1 = pack("U*", @array); open(FD, ">$filepath\\$str1") or die( "$!"); close FD; I have uploaded my machine with japanes