Issue 125115 - German Windows: "unoinfo java" indicates UTF-16LE encoding, but encoding is not UTF-16
Summary: German Windows: "unoinfo java" indicates UTF-16LE encoding, but encoding is n...
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 4.0.0
Hardware: All Windows, all
: P3 Normal
Target Milestone: 4.1.1
Assignee: hdu@apache.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-18 17:24 UTC by rony
Modified: 2017-05-20 09:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
jsc: 4.1.1_release_blocker+


Attachments
text files containing string returned by 'unoinfo java' on German Windows with OOo 3.4, AO1 4.0, AOO 4.1 (715 bytes, application/save-as)
2014-06-18 17:24 UTC, rony
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rony 2014-06-18 17:24:27 UTC
Created attachment 83576 [details]
text files containing string returned by 'unoinfo java' on German Windows with OOo 3.4, AO1 4.0, AOO 4.1

Running "unoinfo java" on a German Windows (XP, 7) returns a string where the first byte indicator has the value "1", indicating that the text is encoded in UTF-16LE. The different paths are delimited by "\0\0" (two consecutive '\0'). AOO returns the path characters as ASCII (8-bit), but uses the "\0\0" to delimit the different paths from each other.

This hinders/inhibits installation scripts to reliably set up the CLASSPATH value for the installed AOO, as the wrong encoding causes errors.

Attached please find the returned text for OOo 3.4, AOO 4.0.1, and AOO 4.1.
Comment 1 SVN Robot 2014-06-19 14:42:27 UTC
"hdu" committed SVN revision 1603897 into trunk:
#i125115# fix unoinfo output on Windows
Comment 2 hdu@apache.org 2014-06-19 14:44:34 UTC
Should be fixed with the commit above. Please test with one of the next nightly builds. The fix might be interesting for AOO 4.1.1 too.
Comment 3 rony 2014-06-20 09:56:45 UTC
Herbert, thank you very much, your fix fixes this issue [just double-checked with the current Windows snapshot AOO 4.2.0, indicating rev. AOO420m1(Build:9800)  -  Rev. 1604028, Rev.1604028].

Will try to raise a showstopper flag, now that a fix is available.
Comment 4 jsc 2014-06-20 10:02:46 UTC
grant showstopper flag
Comment 5 SVN Robot 2014-06-20 11:17:28 UTC
"hdu" committed SVN revision 1604138 into branches/AOO410:
#i125115# fix unoinfo output on Windows
Comment 6 hdu@apache.org 2014-06-20 11:18:43 UTC
The fix has been merged for the AOO 4.1.1 target.
Comment 7 jsc 2014-08-19 12:27:46 UTC
@Rony, can you verify the issue with AOO 4.1.1
Comment 8 rony 2014-08-20 14:43:03 UTC
Hi Jürgen, looks fixed to me, thank you very much! ---rony

(Using: <http://ci.apache.org/projects/openoffice/install/win/Apache_OpenOffice_4.1.1_Win_x86_install_de_1617669.exe>)