Hi All,
I am generating a Word document from contents in an XML file. An XSLT converts the XML to WordML and saves as a Word HTML file, and then I open that HTML file with Word, and save it as a Doc file.
It works fine except when the content includes special characters that are not in English.
e.g. NETTOVERMÖGENSAUFSTELLUNG becomes NETTOVERMA-GENSAUFSTELLUNG
I tries setting lang="DE" from lang="EN-US" in the body tag and the span tag in HTML file. But that didn't work.
I also tried doing this:
Selection.WholeStory
Selection.Range.LanguageID = wdGerman
Is there another way to specify the language in Word? Or any other way to achive what I am trying?
TIA,
Sheila
I am generating a Word document from contents in an XML file. An XSLT converts the XML to WordML and saves as a Word HTML file, and then I open that HTML file with Word, and save it as a Doc file.
It works fine except when the content includes special characters that are not in English.
e.g. NETTOVERMÖGENSAUFSTELLUNG becomes NETTOVERMA-GENSAUFSTELLUNG
I tries setting lang="DE" from lang="EN-US" in the body tag and the span tag in HTML file. But that didn't work.
I also tried doing this:
Selection.WholeStory
Selection.Range.LanguageID = wdGerman
Is there another way to specify the language in Word? Or any other way to achive what I am trying?
TIA,
Sheila