|
-
Dec 14th, 2007, 09:11 AM
#1
Thread Starter
Fanatic Member
[2.0] Japanese in my Rich Text Box
I am having touble getting my rich text box to display Japanese characters.
The string I assign to the text property when viewed via a quickwatch in debug mode, shows the Japanese characters and whatnot. However between HAVING the correct characters and assigning them to the RTF property, we lose, just about everything. lots of ?? ?? and ????.
It's bizzare, because all the other controls on the form correctly display the Japanese characters.
-
Dec 14th, 2007, 10:55 AM
#2
Re: [2.0] Japanese in my Rich Text Box
Why are you using the RTF property? That's designed to give you access to the underlying RTF code embedded within the document as well as the text.
Have you tried using the Text property instead?
-
Dec 14th, 2007, 11:15 AM
#3
Thread Starter
Fanatic Member
Re: [2.0] Japanese in my Rich Text Box
I don't know. This is an issue that I inherited, but essentially, rtf codes are set and modified, then sent to the display box. This is so we can use images, bold, color, etc.
Our soultion right now: Since Japanese characters are not legal rtf characters, we are converting the bytes to the Unicode, codes. THEN sending them to the rtf which will interperate them as the readable Japanese characters. Fun fun.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|