Apache OpenOffice (AOO) Bugzilla – Issue 102584
editing an empty file as ascii in foreign language results in a corrupted file
Last modified: 2009-07-02 23:06:36 UTC
* touch a file /tmp/foo.doc * ooffice /tmp/foo.doc * a dialog for the ascii filter is opened, select ASCII (the default) and hebrew as language * in writer, edit in hebrew and save. openoffice doesn't complain about anything * close, exit * cat /tmp/foo.doc result: the file is full of question marks the problem is that writer does not complain and saves the file. in my personal case, i worked on the file for several hours then closed writer only to discover (after sending the file so someone and getting feedback from him) that all my work was lost.
Do you see also the question marks in OOo? Which Hebrew encoding did you choose? May that be that your terminal is not localized to display Hebrew? Worksforme on Windows.
after i re-open the doc, yes. the question marks are not due to missing fonts or different encoding they are the genuine '?' character.
Please try the current 3.1 version from our site and attach a test document (odt) which contents shows the problem while exporting to txt.
Created attachment 62843 [details] save as text (not encoded)
OOo saves in the encoding of the import. It doesn't make sense to open a text file with ASCII as filter when you intend to write in Hebrew. Selecting one of the Hebrew or UTF8 encodings works fine. The "Language" field is only there to set a default SpellChecking language.
closed