GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

textview && UTF-8

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
alen121
Familiar Face


Joined: 28 Sep 2007
Posts: 23

PostPosted: Mon Mar 24, 2008 6:47 am    Post subject: textview && UTF-8 Reply with quote

I recived a text from input in Arabic( or none En language) . when I want to display it in a text view , it displays the text as ?????? ??? . what is the problem ? I should turn it to UTF-8 ? ( does GTK widgets turn input text in to UTF ? ) . I have a Arabic font .
Back to top
Wolfgang
Familiar Face


Joined: 05 Feb 2008
Posts: 37

PostPosted: Mon Mar 24, 2008 8:33 am    Post subject: Reply with quote

> I recived a text from input in Arabic( or none En language)
what are ou using as input field? You may use TextView as input.
Back to top
alen121
Familiar Face


Joined: 28 Sep 2007
Posts: 23

PostPosted: Mon Mar 24, 2008 11:28 am    Post subject: Reply with quote

I extract this text as an input from my database(mysql) ( the text is saved as utf_8 collation ucs2_persian_ci in data base) . when I want to display the extracted text in textview it displays it as ????? .
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP