[Interest] Support of russian language in QJson-classes

Till Oliver Knoll till.oliver.knoll at gmail.com
Tue Aug 20 14:08:32 CEST 2013


Am 20.08.2013 um 13:21 schrieb Konstantin Tokarev <annulen at yandex.ru>:

> 
> 20.08.2013, 15:18, "Till Oliver Knoll" <till.oliver.knoll at gmail.com>:
>> Am 20.08.2013 um 13:04 schrieb Konstantin Tokarev <annulen at yandex.ru>:
>> 
>>> ...
>>> UTF8 in string literals does not require compiler ability to process UTF8 sources.
>> 
>> Off course it does. Refer e.g. to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33415
>> I agree that probably most (all?) current compilers can read UTF-8 encoded source files, but that was not always a given!
> 
> UTF8 BOM has nothing to do with string literals,

I was not talking about string literals anyway. I was talking about the charset of the source file itself. And my general advice was based on that still holds: don't rely on every tool in the chain to support UTF-8. Use plain english in your sources.

Furthermore you did /not/ explicitly set the charset when creating your text file in your example code! Might be pure incidence that the proper charset is taken (based on your current Locale settings).

> and moreover, it is absolutely useless character and should be killed with fire.

Whatever ;)

Cheers,
  Oliver


More information about the Interest mailing list