Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: IO::Handle Unicode and ungetc()

by coolmichael (Deacon)
on Jan 07, 2013 at 03:22 UTC ( #1011939=note: print w/replies, xml ) Need Help??


in reply to Re: IO::Handle Unicode and ungetc()
in thread IO::Handle Unicode and ungetc()

I don't think that's the same thing. This problem happens with on disk files as well as in-memory file handles.

It looks like ord() is returning the correct unicode code point, but ungetc() is interpreting it as a byte sequence instead of a code point. That seems like a different bug to me.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011939]
help
Chatterbox?
[LanX]: jeez Singapore, Indonesia and the Philippines inherited 3 different kinds of plugs from their former colonial overlords

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-02-19 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (292 votes). Check out past polls.