Displaying non English characters


https://www.nevron.com/Forum/Topic11920.aspx
Print Topic | Close Window

By NeilTurp - 5 Years Ago
I'm building an app to show formatted text in a Nov Text Editor.  One issue I am having is with German characters in the text.  Here is a screen grab of part of the file in TextEdit and in the Nevron NOV Demo.  Check the quote marks on the 3rd line.  Does anyone know how to get Nevron Nov text editor to show these (and others) correctly?
https://www.nevron.com/forum/uploads/images/8bea468f-a079-4811-92e8-c3c1.png
By Nevron Support - 5 Years Ago
Hi Neil,
Can you post the german text in the forum - we'd like to test with it...
By NeilTurp - 5 Years Ago
Thanks.  The file is at:

https://www.dropbox.com/s/7n77dwdsgyv6r0k/D2VitEss.rtf?dl=0

Good luck
Neil
By NeilTurp - 5 Years Ago
Hi, have you been able to replicate it yet?


Neil
By Nevron Support - 5 Years Ago
Hi Neil,
Thank you for uploading that file. Yes we managed to replicate / fix this. The problem was that the text contained ASCII extension characters that are not usually mapped to their Unicode equivalents. Such characters are (first column contains ASCII code point and the second the Unicode one):
0x84, 0x201E // double low quotation mark    
0x8B, 0x2039 // single left-pointing angle quotation mark    
0x91, 0x2018 // LEFT SINGLE QUOTATION MARK ‘quoteleft    
0x92, 0x2019 // RIGHT SINGLE QUOTATION MARK ’quoteright    
0x93, 0x201C // LEFT DOUBLE QUOTATION MARK“quotedblleft    
0x94, 0x201D // RIGHT DOUBLE QUOTATION MARK”quotedblright
We have incorporated the above fix to the font fallback mechanism of the control and will publish a SP in the near future that has this resolved. BTW what is the software you used to create this RTF?
By NeilTurp - 5 Years Ago
Thanks, that sounds great.
We have files provided by a number of authors. Some of the authors tend to use Macs and some Windows:  I would guess they use proprietary office suites, but it is a guess and beyond that, I can't say.  Sorry.
Neil
By NeilTurp - 5 Years Ago
Any idea when the SP might be released?

Neil
By Nevron Support - 5 Years Ago
Hi Neil,
You can download the latest SP from our website - it should be fixing this issue.