Re: How to keep UTF-8 characters, but escape non-UTF-8 byte sequence to hex codes in ASCII
- From: Peter Lund <firefly vax64 dk>
- To: Daniel Yek <dyek real com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to keep UTF-8 characters, but escape non-UTF-8 byte sequence to hex codes in ASCII
- Date: Fri, 01 Dec 2006 16:29:31 +0100
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?
-Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]