To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49076
                  Issue #:|49076
                  Summary:|on freebsd-4, in filter/source/... , java merger
                          |program corrupts UTF-8 strings
                Component:|tools
                  Version:|680m95
                 Platform:|PC
                      URL:|
               OS/Version:|FreeBSD
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|mh
              Reported by:|yury_t





------- Additional comments from [EMAIL PROTECTED] Wed May 11 01:10:39 -0700 
2005 -------
Happens when building on freebsd-4 with port of Sun java-1.4.2.

When processing in filter/source/config/fragments, java merger program(when 
with 
-debug parameter, set in makefiles by default) uses UTF-8Special encoding, 
which 
leads to corruption of UTF-8 strings read from localize.sdf files. Alternative 
python script works okay and the merger works okay, too, if hacked to get rid 
of 
this encoding (non-existing on this platform+runtime combination perhaps?). I 
couldn't find the definite place of unsetting the option in makefiles.

The fragment in question is this:

--- ooo_SRC680_m95_src/filter/source/config/tools/merge/Merger.java.prev        
Tue Mar 22 07:35:25 2005
+++ ooo_SRC680_m95_src/filter/source/config/tools/merge/Merger.java     Fri Apr 
29 17:56:55 2005
@@ -352,7 +352,7 @@
         boolean bDebug               = m_aCfg.getBoolean(PROP_DEBUG       , 
false);
         java.lang.String sEncoding   = "UTF-8";
         if (bDebug)
-            sEncoding = "UTF-8Special";
+            sEncoding = "UTF-8"; //"UTF-8Special";

         while(pFragments.hasMoreElements())
         {

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to