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@suse.cz
Context
Re: String literals, ASCII vs UTF-8 · Stephan Bergmann
Re: String literals, ASCII vs UTF-8 · Lubos Lunak
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.