Re: How to keep UTF-8 characters, but escape non-UTF-8 byte sequence to hex codes in ASCII



At 07:29 AM 12/1/2006, Peter Lund wrote:
On Thu, 2006-11-30 at 15:46 -0800, Daniel Yek wrote:

> Well, with g_utf8_validate(), it is trivial to implement a function that
> escape non-UTF-8 bytes to Hex. However, I then found out that TreeView, or
> more likely Pango, would unescape the %xx sequence (undo my attempt to help
> it) and choke!??!

What if you double the percent signs?

Was it supposed to work? I tried, it didn't work.

Thanks.


--
Daniel Yek


-Peter




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