Re: Encoding problem when migration hsqldb->Firebird

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux