Hi Julien,
On 30.01.2019 12:13, Julien Nabet wrote:
Giving a try to tdf#123020 (which is finally a dup), I added some traces
and noticed this kind of string (OUString):
"CREATE CACHED TABLE "\u00c5r"("\u00c5r" INTEGER NOT NULL PRIMARY KEY)"
...
How to convert \u... to the "real" character?
It might be some artifact of the tracing machinery, which e.g. could use
a font without the codepoint, or output all non-ascii chars like that?
because \u00c5 is a valid UTF-18 escape sequence [1] (U+00C5, [2]), and
so "\u00c5r" maybe is just "År" in the real string (i.e., the "\u00c5r"
takes 4 sal_Unicode characters for ", Å, r, and " in the OUString, and
the Å is actually the "real" character)?
[1] https://en.cppreference.com/w/cpp/language/escape
[2] https://www.fileformat.info/info/unicode/char/00c5
--
Best regards,
Mike Kaganski
Context
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.