Converting RTF to HTML with Webdings-Symbols
Posted: Mon Nov 26, 2018 2:29 pm
Hello *,
I'm having an issue while converting RTF to HTML files. My HTML file show me some unknown characters instead of a Webdings-Symbol.
Can you help me?
Moreover, I will add two files two show my problem. The first file (Input.rtf) is the file which I'm trying to convert and the second (Output.txt) is my generated HTML file (renamed into a txt-file, because I could not upload HTML files), which shows the unknown characters.
In addition, I've analysed the problem a little bit deeper and I found the function
If not: The text will be normally encoded. (This way is working for my Webdings-Symbols.)
Otherwise: The text is supposed to be converted into a known HTML-Symbol, but this is not working for my Webdings-Symbols.
Is there a way to avoid this behaviour? Or is there another way to convert my files.
Thank you for your help.
I'm having an issue while converting RTF to HTML files. My HTML file show me some unknown characters instead of a Webdings-Symbol.
Can you help me?
Moreover, I will add two files two show my problem. The first file (Input.rtf) is the file which I'm trying to convert and the second (Output.txt) is my generated HTML file (renamed into a txt-file, because I could not upload HTML files), which shows the unknown characters.
In addition, I've analysed the problem a little bit deeper and I found the function
in theRVUnicodeToEncodedHTMLEx
-file. This function checks at the beginning if the given string is written in a symbol font.RVHtmlSave
If not: The text will be normally encoded. (This way is working for my Webdings-Symbols.)
Otherwise: The text is supposed to be converted into a known HTML-Symbol, but this is not working for my Webdings-Symbols.
Is there a way to avoid this behaviour? Or is there another way to convert my files.
Thank you for your help.