Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Weird STDERR/SIGDIE/Encodings issue

by vsespb (Chaplain)
on Mar 29, 2013 at 10:30 UTC ( #1026124=note: print w/replies, xml ) Need Help??


in reply to Re^3: Weird STDERR/SIGDIE/Encodings issue
in thread Weird STDERR/SIGDIE/Encodings issue

OK. Seems you are right! Thanks! BTW I tried to reproduce it on FreeBSD system with non-Unicode locale (i.e. console, locale and filenames are in KOI8-R). But seems it works fine (perl 12) and escapes characters (while escape are wrong):
"\x{00d5}" does not map to koi8-r at \x{0552}\x{006f}33.pl line 18. "\x{00d2}" does not map to koi8-r at \x{0552}\x{006f}33.pl line 18. "\x{00c1}" does not map to koi8-r at \x{0552}\x{006f}33.pl line 18. ... Died at \x{0552}\x{006f}33.pl line 28.
While linux (perl 10 and perl 14) does not try to escape (probably detects UTF8 locale)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026124]
help
Chatterbox?
[Corion]: So I guess I will simply implement the linear scan first and wait with more fancy stuff until it becomes a problem
[karlgoethebier]: Lady_Aleena: ++ for "The Man Crusher Everyday"
[karlgoethebier]: this mad my day
[karlgoethebier]: no typo
[marioroy]: At the Fransiscan monastery, got stuck up high in a tree from pruning and the chainsaw with large branch fell and broke the latter, but not me fortunately. Was stuck there for a while until a firetruck came by.
[Corion]: marioroy: So you live dangerously ...
[Lady_Aleena]: s/latter/ladder/; # ? marioroy
[karlgoethebier]: marioroy: Praise the Lord
[marioroy]: Well, that's why there must be angels around, invisible or not.
[marioroy]: Lady_Aleena yes, ladder.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-05-29 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?