Encoding problem when migration hsqldb->Firebird

Julien Nabet serval2412 at yahoo.fr
Wed Jan 30 09:13:22 UTC 2019


Hello,

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)"

It seems it prevents from migration process (hsqldb->Firebird)
Here is the location where it's generated:
https://opengrok.libreoffice.org/xref/core/dbaccess/source/filter/hsqldb/parseschema.cxx#126

I noticed that if "content.xml" from odb file contained encoded 
characters like this "Formulär"
script/database contained characters with \u...

How to convert \u... to the "real" character?

Julien



More information about the LibreOffice mailing list