Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: IO::Handle Unicode and ungetc()

by Anonymous Monk
on Jan 06, 2013 at 07:53 UTC ( #1011843=note: print w/replies, xml ) Need Help??

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

Replies are listed 'Best First'.
Re^2: IO::Handle Unicode and ungetc()
by coolmichael (Deacon) on Jan 07, 2013 at 03:22 UTC

    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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-10-25 07:09 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.