Kazuko O. wrote:
Thank you very much!!!

I added "[comment]: # (-*- coding: UTF-8 -*-)" in the bottom line of the md 
file (first line is not OK).
The md file is displayed without  incorrect characters in the XXE, and
I could get the PDF without error (DITA-OT + AHF).
I think my problem is solved.

I always appreciate your quick reply and appropriate answer.

You are welcome.

However please restrict yourself to the *beginning* of your file, that is to the first few lines, for example after the Markdown header:

---
id: topic_ID
---

or after first heading:

# Topic title

This should make no difference for the DITA-OT because "[comment]: # (...)" is a valid Markdown syntax specifying a named link. (In our case, a fake one which will never be used anywhere in the ".md" file.)

If you put

[comment]: # (-*- coding: UTF-8 -*-)

at the very end of your Markdown file and your file is not a very short one, I don't think XXE will be able to find it.



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

Reply via email to