[Libreoffice-bugs] [Bug 125286] FIREBIRD - Base not usable under Windows account with Chinese user name (UTF character support)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 5 22:35:14 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=125286
Julien Nabet <serval2412 at yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sbergman at redhat.com
--- Comment #8 from Julien Nabet <serval2412 at yahoo.fr> ---
On pc Debian x86-64 with master sources updated today, I created a new user
with non ascii characters and I don't reproduce this so I suppose it's indeed
Windows only.
Here's a codepointer to start:
https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/Connection.cxx?r=f853ec31#172
172 m_sFirebirdURL = m_pDatabaseFileDir->GetFileName() + "/firebird.fdb";
173 m_sFBKPath = m_pDatabaseFileDir->GetFileName() + "/firebird.fbk";
I suppose "m_pDatabaseFileDir->GetFileName()" is ko but can't tell more.
We need someone who can build sources on Windows and who has a non ascii
profile directory.
Stephan: comparing method osl_getFileURLFromSystemPath sal/osl/unx/file_url.cxx
and sal/osl/w32/file_url.cxx, I noticed Unix version used RTL_TEXTENCODING_UTF8
and Windows version RTL_TEXTENCODING_ASCII_US, is it expected?
see
https://opengrok.libreoffice.org/xref/core/sal/osl/unx/file_url.cxx?r=0f874472#440
https://opengrok.libreoffice.org/xref/core/sal/osl/w32/file_url.cxx?r=895cd721#892
--
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/20191205/3c540044/attachment.html>
More information about the Libreoffice-bugs
mailing list