On Monday, 2 August 2021 07:36:49 PDT David M. Cotter wrote:
> does anyone have any idea about this? please?

You didn't say what the problem was.

Qt doesn't know the encoding of your source files. You must either tell the 
compiler to convert all string literals to UTF-8 or you must convert them 
yourself to UTF-8 or UTF-16 before passing to QString. You said you'd done 

> all my strings are handled internally (converted from MacRoman to utf16),
> and only sent to QString when i need that at the very edge of a GUI API. 
> at that time they are converted from my internal rep (utf16) to utf8, then
> to QString

That sounds like the solution.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering

Interest mailing list

Reply via email to