You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/09/05 20:27:59 UTC

[Issue 126503] New: Input field with chinese charactor has incorrect newline codes when saved as MS Word

https://bz.apache.org/ooo/show_bug.cgi?id=126503

          Issue ID: 126503
        Issue Type: DEFECT
           Summary: Input field with chinese charactor has incorrect
                    newline codes when saved as MS Word
           Product: Writer
           Version: 4.1.1
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: weixuan@pukea.cn

Created attachment 84904
  --> https://bz.apache.org/ooo/attachment.cgi?id=84904&action=edit
input field contains chinese

If an input field contains chinese, after Writer saving the file, it is
incorrect (please see the attached file).

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126503] Input field with chinese charactor has incorrect newline codes when saved as MS Word

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126503

--- Comment #4 from leo.wei <we...@pukea.cn> ---
test with latin text is correct

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126503] Input field with chinese charactor has incorrect newline codes when saved as MS Word

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126503

--- Comment #6 from Tomas <to...@gmail.com> ---
Created attachment 86032
  --> https://bz.apache.org/ooo/attachment.cgi?id=86032&action=edit
OpenOffice vs Word

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126503] Input field with chinese charactor has incorrect newline codes when saved as MS Word

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126503

oooforum <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oooforum@free.fr

--- Comment #3 from oooforum <oo...@free.fr> ---
Did you try the same test with some latin text?

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126503] Input field with chinese charactor has incorrect newline codes when saved as MS Word

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126503

--- Comment #1 from leo.wei <we...@pukea.cn> ---
Created attachment 84905
  --> https://bz.apache.org/ooo/attachment.cgi?id=84905&action=edit
input field contains chinese word file

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126503] Input field with chinese charactor has incorrect newline codes when saved as MS Word

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126503

--- Comment #2 from leo.wei <we...@pukea.cn> ---
Created attachment 84906
  --> https://bz.apache.org/ooo/attachment.cgi?id=84906&action=edit
correct file, before save

the file is MS Word97

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126503] Input field with chinese charactor has incorrect newline codes when saved as MS Word

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126503

Tomas <to...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomas.straka4@gmail.com

--- Comment #5 from Tomas <to...@gmail.com> ---
Hello, 
 I tried to further investigate given issue and here are my observations: 

 - steps to reproduce the issue: 
        - Insert -> Fields -> Other
        - popup appears, so go to tab Input Field
        - into field "reference" insert the english text (I used "Fox")
        - press "Insert" and another popup appears, so enter chinese text into
the 
          "bigger" field
        - after pressing "ok" and then "Close" to close all popups, chinese
text 
          should appear in the input field
        - "save as" document (MS Word97 doc format) and then open it using MS
Word
        - Chinese text in the input field is there three times, instead of one
time

 - I spotted some strange behavior even with the latin text(saving in Writer as
'MS 
   Word97/200/XP doc' and opening in MS Word):
        - if input field has at least one of these: ě,š,č,ř,ž,ý,á,í,é the input 
          field is not saved and shown in word at all
        - after few tests, I realized that actually input field is not saved
even 
          with simple "test" inputted
        - but input field is saved and visible ONLY when used with Chinese 
          characters(but not correctly - see screenshot)

 - saving chinese input field into different formats(and opening the files
using MS 
   Word): 
        - odt works as expected
        - rtf works as expected
        - txt shows "??" instead of chinese (no surprise without encoding)
        - encoded txt works as expected
        - rtf format has this issue (chinese text is trippled)
        - all doc formats have this issue (chinese text is trippled)

 - I tried other languages with non-standard characters - saving greek text
into 
   different formats: 
        - odt works as expected
        - rtf don't show any greek text at all
        - all doc formats don't show any greek text

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126503] Input field with chinese charactor has incorrect newline codes when saved as MS Word

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126503

--- Comment #7 from Tomas <to...@gmail.com> ---
Also I noticed one more strange detail - sometimes, instead of only chinese
characters, there is date present (it is visible in screenshot 'OpenOffice vs
Word'), so not only that chinese text is trippled, there is latin timestamp
mixed together. Unfortunately I wasn't able to understand when and why this
happens.

-- 
You are receiving this mail because:
You are the assignee for the issue.