Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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.


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011939]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-12-28 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (180 votes), past polls