trichview.com

trichview.support




Re: How to not use Unicode


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/16/2003 22:52:17


Well, character with ANSI code 149 has Unicode code 8226.

As I understand (http://czyborra.com/charsets/iso8859.html), ISO-8859-1

includes Windows ANSI_CHARSET characters in range 160..255. So the character

149 is not in it (is there a hole 128..160 inISO-8859-1?), and cannot be

converted to a single character directly.


I think that in this case it must be inserted in XML as an Unicode entity:

• or converted to some default character (for example, to '?')

This is a work for converter, I believe.


>

> Hello,

>

> in my current project, i use a TRichViewEditor to edit text that will be

> exported as HTML code. This code is then used to set up some XML-code,

which

> is uploaded to a web server.

> My problem: There is a module converting Unicode characters in the HTML

code

> to ISO 8859 1 characters, which is needed because the xml has to be

encoded

> this way.

> If I (for example) insert the bullet character (Alt+0149 on Windows) and

> export the RichView text as HTML, the Unicode converter module throws an

> error because a Unicode character with value 8226 could not be converted.

> Is this something that could be handled in any way by the TRichView

component,

> or is it an windows issue?

>

> Regards,

>

> Christian Kirchhoff





Powered by ABC Amber Outlook Express Converter