I
Ilya Zakharevich
Is it possible to use `binmode($fh, SOMETHING)' in Win32 to get "the
expected console-like behaviour" on the handle? Something other API?
I mean something like what I find on:
http://blogs.msdn.com/junfeng/archive/2004/02/25/79621.aspx
(the semantic is to get full unicode text on the console, and text
converted to the current codepage if the output is redirected to a
pipe/file; cp65001 [=UTF-8] not excluded).
Thanks,
Ilya
P.S. Since the code is portable (mp3info2) and very short, I would
prefer a solution as terse as possible...
expected console-like behaviour" on the handle? Something other API?
I mean something like what I find on:
http://blogs.msdn.com/junfeng/archive/2004/02/25/79621.aspx
(the semantic is to get full unicode text on the console, and text
converted to the current codepage if the output is redirected to a
pipe/file; cp65001 [=UTF-8] not excluded).
Thanks,
Ilya
P.S. Since the code is portable (mp3info2) and very short, I would
prefer a solution as terse as possible...