Posted 18 years ago
by Karl Grambow
I was hoping someone might be able to help with a question I have about encodings and how SyntaxEditor's handling of it differs from a standard rtb.
I'm retrieving some data from a database and populating a rtb with that data, some of which is unicode data and therefore has the appearance of square characters (symbols) and such.
If I put that unicode data into a SyntaxEditor document (with UnicodeEnabled=true) it's perfect. However, if I put that data into a standard rtb it gets transformed into Chinese/Japanese characters (and subsequently the font has changed).
I could use SyntaxEditor in place of the rtb but I'm not using any color-coding and I need to be able to load lots of data so I need it to be fast.
To be honest, I can live with the way that the standard rtb transforms the text. After all, it makes no difference that either character (square symbols or Chinese character) is illegible.
But, what really is driving me nuts is that it IS different! And SyntaxEditor handles this perfectly so I'm just curious as to how SyntaxEditor does this and if I can easily apply the same method to a standard rtb.
Appreciate any advice I can get.
Thanks,
Karl
I'm retrieving some data from a database and populating a rtb with that data, some of which is unicode data and therefore has the appearance of square characters (symbols) and such.
If I put that unicode data into a SyntaxEditor document (with UnicodeEnabled=true) it's perfect. However, if I put that data into a standard rtb it gets transformed into Chinese/Japanese characters (and subsequently the font has changed).
I could use SyntaxEditor in place of the rtb but I'm not using any color-coding and I need to be able to load lots of data so I need it to be fast.
To be honest, I can live with the way that the standard rtb transforms the text. After all, it makes no difference that either character (square symbols or Chinese character) is illegible.
But, what really is driving me nuts is that it IS different! And SyntaxEditor handles this perfectly so I'm just curious as to how SyntaxEditor does this and if I can easily apply the same method to a standard rtb.
Appreciate any advice I can get.
Thanks,
Karl