I have had this problem when an app is run in a DOS command window - it ignores the language settings of the PC.
You may have to do some inline conversion as the command screen will only take the ASCII of the string sent to it. This is quite simple to do as you can use a replace function - if you know how the input ascii translates to the output ascii. Note that as you maybe converting chars that exist further up the string you may have to use an empty string to parse the converted output into rather than using a $string = s/was/new/; or string = replace(string, was, new) function - depending on your code language. A simple array with was and new should help. T ----- Original Message ----- From: "Jonas Br�ms� Nielsen" <[EMAIL PROTECTED]> To: "Activeperl (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 1:42 PM Subject: First post perhaps slightly off topic, problems with danish characters in command application Hello, This is my first post to the list, I am not sure whether this is the correct list to post to, and my post might even be slightly off topic. I am writing some Perl scripts which are testing a set of SOAP web services implemented in VB.NET. My problem is that I now can send and receive danish characters using ISO-8859-1 encoding. But when I send info to the terminal the characters become unreadable. This is my Perl version: This is perl, v5.6.1 built for MSWin32-x86-multi-thread And this is the locale I use: LC_COLLATE=Danish_Denmark.1252;LC_CTYPE=Danish_Denmark.1252;LC_MONETARY= Danish_Denmark.1252;LC_NUMERIC=C;LC_TIME=Danish_Denmark.12521..3 But anyhow my output in the command app end up looking like the following: ?�?�?�?�?�?� I hope somebody can help out :) jonasbn _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
