stdout and stderr character encoding

Posted by Muhammad alaa on Stack Overflow See other posts from Stack Overflow or by Muhammad alaa
Published on 2010-05-18T12:23:10Z Indexed on 2010/05/18 13:50 UTC
Read the original article Hit count: 593

Filed under:
|
|
|
|

i working on a c++ string library that have main 4 classes that deals with ASCII, UTF8, UTF16, UTF32 strings, every class has Print function that format an input string and print the result to stdout or stderr. my problem is i don't know what is the default character encoding for those streams.

for now my classes work in windows, later i'll add support for mac and linux so if you know anything about those stream encoding i'll appreciate it.

thank you.

© Stack Overflow or respective owner

Related posts about c++

Related posts about stdout