|
|
| P is for Practical | |
| PerlMonks |
Re^2: IO::Handle Unicode and ungetc()by coolmichael (Chaplain) |
| on Jan 07, 2013 at 03:22 UTC ( #1011939=note: print w/ replies, xml ) | Need Help?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||