String literals, ASCII vs UTF-8

Lubos Lunak l.lunak at suse.cz
Mon Mar 5 04:29:24 PST 2012


On Tuesday 28 of February 2012, Lubos Lunak wrote:
>  I'd like to revisit the choice of considering string literals to be either
> ASCII or UTF-8, as discussed in the thread about removing
> RTL_CONSTASCII_USTRINGPARAM. While I was ambivalent about it, I now think
> we should go with ASCII only, unless explicitly marked otherwise.
...
>  For these reasons I'd like to push the attached patches (changing OUString
> docs to require ASCII in plain string literals, adding ASCII range checks,
> adding OUString operator overloads for string literals and cleaning up
> usage of the macro in sw's ww8 filter as a test).

 As the patch with exception throwing seems to be the only one with issues, 
I've pushed the rest.

-- 
 Lubos Lunak
 l.lunak at suse.cz


More information about the LibreOffice mailing list