in reply to 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.
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (315 votes). Check out past polls.