Apache OpenOffice (AOO) Bugzilla – Issue 29670
MS Word Export: Garbled Japanese variable date field
Last modified: 2017-05-20 11:13:38 UTC
1. In OOo1.1.2rc3 Writer, insert a Japanese varialbe date field with the format "YYYY[nian]m[yue]d[ri]", where [nian], [yue], and [ri] stand for respective Chinese ideographs. 2. Export and open the document into MS Word 2002. -> The field becomes corrupt.
For cjk savvy browsers, [nian], [yue], [ri] stand for 年, 月, 日, respectively.
Created attachment 16047 [details] Any takers? khong maybe?
Hi Eike, this is a task for you. Is it possible to fix it for OOo1.1.3 or should we set it to the next major step, OOo2.0?
Assigned to Eike.
I doubt that this is my construction site. Seems to be related to how number formats are converted during MS-Word export => reassigning to Martin. Martin, if we need some additional support in SvNumberformat::GetMappedFormatstring() please tell me. Eike
MS-Word export/import of variable date field seems to be generally broken. A field inserted as "MM/DD/YY" displays correctly 06/28/04, but when saved as MS-Word and reloaded displays 06/tt/jj, with tt and jj being the German format code keywords for day respectivley year. Seems upon import the format code is added to the number formatter without converting it to the target locale, en_US in this case.
*** Issue 31210 has been marked as a duplicate of this issue. ***
Retargeted to 1.1.4.
Just found an earlier report of same bug: http://www.openoffice.org/issues/show_bug.cgi?id=28434
MM: Due to lack of resources I have to move this to "OO Later"
According to http://www.openoffice.org/issues/show_bug.cgi?id=28434 this issue has been fixed in OO 680m56. Does someone with the correct permissions want to close this bug?
mmaher->flr: Yours I think
This issue is far from being closed, and seems to affect all fields, not only the date. Here's one example: I use the following header line in all my documents: Last edited by: FullName; Last printed: 13.2.2006 12:11:00 PM The data after colons are fields: "docInformation/Modified/Author" and "docInformation/Last printed/Date" with a modified format to incorporate both date and time. When I save the file in MS Word format, and the reopen, the line looks like this: Last edited by: H十八N十八十八十三L; Last printed: 13/2/2006 12:11:00 A2/P2 (with question marks being empty square boxes, denoting unrecognizable character). When I get into the properties of the first field, I see the language is set to Japanese, instead of the default locale (US). And when I open this file in MS Word 2000, I get an error saying that there's "an unsupported character in the format string" - but there are actually two errors here. When shown, the first field code looks like this: { SAVEDATE \@ "GENERAL" } First, openoffice.org's "Modified/Author" field (denoting the person) has been translated to Word's "SAVEDATE" field (denoting the time), instead of "LASTSAVEDBY". Second, "GENERAL" format string is unrecognized in MS Word, because the parser only allows "dd.MM.yyyy" type of strings. The second field ("Last printed") looks OK, except for the strange "A2/P2". The quilty one is the MS Word Export module of OOo, still buggy in 2.0.1. The import module works as it should.
assigning to hbrinkm
UPDATE: In Ooo2.1 the bug is gone. Only one thing is wrong: if the value of DocInformation:LastPrinted field is null (document was never printed), after saving the document in Word format the field is deleted.
Reset assigne to the default "issues@openoffice.apache.org".