SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Characters displayed incorrectly - locale for non-Unicod...?

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
Nadya



Joined: 30 Oct 2008
Posts: 3

PostPosted: Mon Nov 03, 2008 9:30 pm    Post subject: Characters displayed incorrectly - locale for non-Unicod...? Reply with quote

Hello,

I use TsiLang 6.3 with C++ Builder 6 on English Windows Vista with Russian locale for non-Unicode programs.

My application has 3 languages: English, French, and German.

When I switch it to French, all the special French characters are replaced by Russian ones. If I change the locale to French one, all the characters are displayed properly.
Does it mean I have to use Unicode components in my application?


Also, the locale for non-Unicode programs is used for XML export in SIL Editor. What can I do to fix this behavior?

Thank you
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Tue Nov 04, 2008 9:07 am    Post subject: Reply with quote

Hello,

Yes, you need to use Unicode in order to be able to display "different" languages under different locale.

SIL Editor when exporting to XML uses UTF8 encoding.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
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 p h p B B  © 2001, 2005 p h p B B  Group