Hey, thanks Raymond. > If I had to guess it would have to do with processing pure bytes without > considering encoding and hence multi-byte characters. > > I'd be willing to guess that's a fundamental implementation flaw > potentially down to the telnet protocol itself.
Hmmmm. In that case, sounds like I'll just have to deal with it somehow. Based on your theory, do you have an idea about how I could potentially re-encode a string? Even if there is an issue with encoding, so long as whatever happens is not lossy, I should be able to "get back" my characters, no? Or, any other ideas for a workaround? The only thing I can think of right now is writing the arguments to a file. I don't have encoding problems with file I/O, only when I use stdin. Cheers, =David