Created attachment 90391 [details] Sample Calc Document Function FILTERXML return garbled characters when using Japanese characters. (maybe all 2byte chracters?) Sample Calc document attached. Cell A1's result is correct. Cell A3's result is correct.(xml document) see attached image when xml document garbled. Cell A4's result is correct.Because @company value is alphabet called "none". Cells A5's result is incorrect.Because @state value is Japanese caracters (Kanji) called "東京都"
Created attachment 90392 [details] You can see the setting formula in this image.
Created attachment 90393 [details] You can see result on Japanese environment in this image. Cells A5 is garbled in Japanes environment.
Ah, sorry I have been using an ASCII function.
Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=62174f6a8d4c191d67b7952d851a06b84a2b02be correct UTF8 handling for FILTERXML, fdo#72427 The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Markus Mohrhard committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9bb72868b846a7ba7e8f985a87e944fb760a0f10&h=libreoffice-4-2 correct UTF8 handling for FILTERXML, fdo#72427 It will be available in LibreOffice 4.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Markus Mohrhard : Thank you to fix very quickly.