Re: gdk threads ...

2012-05-23 Thread Stef Walter
On 05/22/2012 04:46 PM, Michael Meeks wrote: > > On Tue, 2012-05-22 at 16:07 +0200, Stef Walter wrote: >> If you have more details/links on how VCL gets around this, I'd be >> interested. A bit of a morbid curiosity perhaps :P > > Sure; here is some of it: > > http://cgit.freedesktop.org/l

Re: g_filename_to_uri() issue in glib-win32

2012-05-23 Thread John Emmas
On 23 May 2012, at 10:05, John Emmas wrote: > > Still a bit confused really... :-( > Not any more My confusion arose from the fact that the notes for g_filename_to_uri() (i.e. the note inside gconvert.c) states that its based on the requirements of RFC 2396:- http://www.ietf.org/rfc/rf

Re: g_filename_to_uri() issue in glib-win32

2012-05-23 Thread John Emmas
On 23 May 2012, at 08:40, Jürg Billeter wrote: > > U+00F6 is the Unicode codepoint but URI percent encoding never directly > uses codepoints as you can encode only a single byte at a time and the > range of Unicode codepoints is much larger than that (up to U+10). > As Krzysztof already wrot

Re: g_filename_to_uri() issue in glib-win32

2012-05-23 Thread John Emmas
On 23 May 2012, at 08:57, David Nečas wrote: > > This is nonsense. Percent-encoding consists of % followed by *two* > hexadecimal digits and encodes *bytes* > Thanks David - are we at crossed purposes here? %F6 does consist of % followed by two hexadecimal digits and it does encode a single

Re: g_filename_to_uri() issue in glib-win32

2012-05-23 Thread Jürg Billeter
On Wed, 2012-05-23 at 06:48 +0100, John Emmas wrote: > But whatever that (second) character looked like, it's decimal value > would always be 246 (because the UTF-8 sequence C3 B6 translates to > decimal 246). > > The URI translation of decimal 246 is %F6. U+00F6 is the Unicode codepoint but URI

Re: g_filename_to_uri() issue in glib-win32

2012-05-23 Thread David Nečas
On Wed, May 23, 2012 at 06:48:31AM +0100, John Emmas wrote: > But whatever that (second) character looked like, it's decimal value would > always be 246 (because the UTF-8 sequence C3 B6 translates to decimal 246). > > The URI translation of decimal 246 is %F6. This is nonsense. Percent-encodin