Re: How to convert ascii string to utf ?



On Wed, Apr 05, 2006 at 09:10:02PM +0200, hm wrote:
> 
>   I`ve got a problem, when i`m tryin` to use gtk_text_buf_insert (). I don`t know how to convert an ascii string, which is loaded from file, let`s say , to a array : char c[255]; or gchar c[255];
> How to convert that ascii to utf ? thanks for any help. I`m noob in gtk

One of the fundamental properties of UTF-8 is that any ASCII
string is valid UTF-8 too.  BTW, this very same question was
asked here maybe not even a week ago.  Please at least try
some searching first...

Yeti


--
That's enough.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]