Home » Community » U++ community news and announcements » UTF8 support in Win32 console (Cout & ide)
UTF8 support in Win32 console (Cout & ide) [message #43694] |
Mon, 22 September 2014 14:43 |
|
mirek
Messages: 14039 Registered: November 2005
|
Ultimate Member |
|
|
There is a bit of mess with console encoding in Win32. After some considerations, I have decided to
- normally, Cout converts to default console encoding ("OEM charset")
- Ide, when capturing the output of program (e.g. to display in Console or into file), it expects it to be in this "OEM charset"
but
- new function, "CoutUTF8();" activates utf8 in Win32 console output and supresses conversion (so that U++ normal utf8 goes directly to console)
- in ide, Debug/Run options.. there is a new option "Output is UTF-8", which does the some for output capture
|
|
|
Goto Forum:
Current Time: Sat Sep 21 05:41:58 CEST 2024
Total time taken to generate the page: 0.01993 seconds
|