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

Home » U++ Library support » U++ Core » charset conversion
Re: charset conversion [message #26037 is a reply to message #26034] Fri, 26 March 2010 18:17 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
U++ and Windows encoding do not need to be the same.

U++ works in utf-8 by default for 8bit chars. Your German windows in Win 1252. You are calling Win32 API for 8-bit chars.

One way around is to use MessageBoxW and covert utf-8 to WString.

Other way around is to use

String ToSystemCharset(const String& src)

which would convert to actual 8-bit encoding.

Best way here is probably to use PromptOK. But above methods are fine if you need to use API directly.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CParser enhancements
Next Topic: Xmlize hates spaces
Goto Forum:
  


Current Time: Tue Jun 23 21:56:56 GMT+2 2026

Total time taken to generate the page: 0.00532 seconds