FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

appendText error for windows2000

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
gxl117



Joined: 22 Dec 2008
Posts: 3

PostPosted: Wed Jan 14, 2009 1:27 am    Post subject: appendText error for windows2000 Reply with quote

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
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Thu Jan 15, 2009 10:09 pm    Post subject: Re: appendText error for windows2000 Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group