Kazuko O. wrote:

I want to ask you about MDITA (LwDITA) support of xxe.
To convert Japanese MDITA files to PDF by using xxe, MDITA files have to be 
UTF8-encoded files with BOM.

After looking at the implementation, a BOM is not required to load an MDITA (that is, plain text) file.

- If a BOM is there, it is used to determine the encoding of the MDITA file.

- If a BOM is not found, then the encoding of the MDITA file is assumed to be UTF-8.




The Japanese characters are incorrectly displayed if MDITA files are the ones 
without BOM.
Will the xxe support Japanese MDITA files without BOM for future?

We are supposed to already support Japanese MDITA files without a BOM provided you use an UTF-8 encoding for these files.

Please send us one or more sample Japanese MDITA files of yours and we'll try to find where is the problem.





And one more question.
I know that xxe is not the editor for editing MDITA files.

Indeed.




However, we can edit MDITA files by xxe like text files.
But when I saved the edited MDITA file, the encoding of the MDITA file is 
changed from UTF8 to other encoding (SHIFT-JIS in Japan).
How do you think about it?

This looks like a bug because, by default, XXE is supposed to use the original encoding of the file to save a modified text file to disk.

See "Options|Preferences", "Add-on|Text Format", and also attached screenshot.

Once again, sending us one or more sample Japanese MDITA files of yours would help us understand what happens.

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to