For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > October 2004 > Need help with perl on win32









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Need help with perl on win32
Reven

2004-10-06, 3:56 pm

Hi group.

I've installed ActivePerl on win XP and I'm having some problems. I've
tried documentation at activestate but found nothing on this topic.

When a variable contains a non-english character (for ex. á [thats
á if you don't see it]) and the script prints that variable to
the screen, I get a lousy character, like if the cmd shell didn't
support this character. But I can type it directly in a shel prompt and
it shows ok.

I've tried playing with locale (use locale;) and perl uses
Spanish_Spain.1252 (es_es), so those character should print out. Windows
local is also set to spanish.

I tried "use utf8;", but I get a whole lot of warnings and instead of
wierd chars I get a blank space.

Anyone knows whats wrong?

Thanks for any help.

Reven

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com