View previous topic :: View next topic |
Author |
Message |
gxl117
Joined: 22 Dec 2008 Posts: 3
|
Posted: Wed Jan 14, 2009 1:27 am Post subject: appendText error for windows2000 |
|
|
In the windows2000,TextBox.appendText do incorrect behavior for Chinese
text, for instance:
Code: | for(int i=0;i<4;i++)
textBox1.appendText("some Chinese string\r\n"); |
run it get:
but it should is
for windows XP it's OK.
Why?
I do follow code:
Code: | for(int i=0;i<4;i++)
textBox1.text = textBox1.text~"some Chinese string\r\n"; |
it's OK.
This dfl's BUG?? or win2000?? |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Thu Jan 15, 2009 10:09 pm Post subject: Re: appendText error for windows2000 |
|
|
It could be that Windows 2000 just doesn't have updated Unicode support. It sounds familiar. You could try other ways to get the text in there, perhaps by appending the newlines in separate append calls; or building the string externally and setting the text all at once, etc. |
|
Back to top |
|
|
|