U++ framework
Do not panic. Ask here before giving up.

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 is currently offline  mirek
Messages: 14290
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
Previous Topic: Multiple string-pattern replace
Next Topic: EditTextNotNull
Goto Forum:
  


Current Time: Tue Apr 28 18:54:25 GMT+2 2026

Total time taken to generate the page: 0.00446 seconds