Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 pondering the Monastery: (17)
As of 2015-07-01 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (3 votes), past polls