Openoffice change text encoding zip file#
The type of line-breaks of the output is always set to a simple linefeed (LF).Īn OpenOffice documents is a ZIP file with several documents inside. The input encoding is automatically detected.Īny user-specified output encoding is ignored by these filters. If you need to process directly an XML ODF file, you can use the ODF Filter that the OpenOffice Filter uses internally. These documents use the OpenDocument format (ODF). OpenOffice Writer behaves differently based on if we use Windows' right-click -> open-with, as opposed to the Open File (ctrl+o) dialog.The OpenOffice Filter is an Okapi component that implements the IFilter interface for documents: ODT (text), ODS (spreadsheet), ODP (slides), ODG (graphics), and their corresponding template formats. if the file is opened using the open file dialog (or control+o) as pointed out by zahra, OpenOffice Writer chooses the correct encoding automatically and the ASCII Filter Options dialog doesn't pop up. If Unicode is chosen for the persian file, it comes up fine, and likewise for japanese and hindi if UTF-8 is chosen. The same thing happens if that encoding is chosen for the two other files. If Western Europe (ASCII/US) is chosen for the persian file attachment, the result will be illegible. if the file is opened by right-click -> open with -> OpenOffice Writer, the ASCII Filter Options dialog comes up and the user will need to select the right encoding in order to read the file. I found that for the three attached files: I did some follow-up testing based on information from zahra and Cem Kaner.