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

It seems ungetc is completely unicode-unaware. Looks like this can be fixed easily though.