GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Tue Sep 30, 2014 5:53 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: convert textview buffer contents from UTF-8 to Ascii.
PostPosted: Sat Aug 18, 2012 5:03 am 
Offline
Familiar Face

Joined: Mon Mar 05, 2012 11:55 pm
Posts: 12
I need to convert the contents of a textview buffer from UTF-8 to ASCII. I haven't found a work around with the regular library. So I have moved on to the glib library. Before I start searching and trying to hack up a work around, does anyone know a way?

I usually use g_convert for char conversions but in this case I cannot type convert. g_convert is of type gchar. While the other is a textview struct.

BTW, I am working on a Linux LAN GUI chat server/client.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google Adsense [Bot] and 4 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group