[Libreoffice-bugs] [Bug 121469] FIREBIRD: Migration for table names with special characters fails

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 31 09:25:42 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=121469

--- Comment #10 from Julien Nabet <serval2412 at yahoo.fr> ---
Tamas:
I created a local patch consisting to:
- copy lcl_ConvertToUTF8 and lcl_IndexOfUnicode from createparser.cxx to
parseschema.cxx
- in parserschema.cxx, SchemaParser::parseSchema method replace:
OUString sSql = xTextInput->readLine();
by 
OUString sSql = lcl_ConvertToUTF8(OUStringToOString(xTextInput->readLine(),
RTL_TEXTENCODING_UTF8));

Of course, it'd better to centralize ConvertToUTF8 mechanism because
rColumnName in parseColumnPart method must need it, but what do you think about
the principle?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190131/075bafe6/attachment-0001.html>


More information about the Libreoffice-bugs mailing list