Re: g_utf8_validate() and NUL characters

2008-10-10 Thread didier
Hi, There's a lot of weird stuff out there... Not a great example but AFP 3 (Apple file server protocol) pathnames are not always valid UTF8 as they should and use 0 as directory separator :) Didier ___ gtk-devel-list mailing list gtk-devel

About g_locale_to_utf8

2007-05-23 Thread didier
Hi If I can guarantee than a buffer is only using printable ASCII will not calling g_locale_to_utf8 be safe with future glib version? Didier ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: about gtk/_gtk_kegtkkeyhash.c:y_hash_lookup() and fuzzy matches

2006-08-23 Thread didier .
t; quit Control-/ --> select all or quit, (one layout select all or no action) Application 4 Control-~ --> quit Control-/ --> quit (one layout select all) Application 5 Control-~ --> quit Control-/ --> ? Didier ___ gtk-dev

Re: about gtk/_gtk_kegtkkeyhash.c:y_hash_lookup() and fuzzy matches

2006-08-23 Thread didier .
On 8/17/06, Owen Taylor <[EMAIL PROTECTED]> wrote: > I don't think there would be anything particularly puzzling - if people > are used to the layout independence for letters, they wouldn't be that > surprised that it happened for punctuation as well. Yes but if an application have a binding for b

Re: about gtk/_gtk_kegtkkeyhash.c:y_hash_lookup() and fuzzy matches

2006-08-17 Thread didier .
or cyrillic keyboard at startup and so on). Didier ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: about gtk/_gtk_kegtkkeyhash.c:y_hash_lookup() and fuzzy matches

2006-08-16 Thread didier .
Only use fuzzy matches if the group 0 is not ASCII? It seems to work here, I tested with Cyrillic/French and French/English. Didier ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

about gtk/_gtk_kegtkkeyhash.c:y_hash_lookup() and fuzzy matches

2006-08-15 Thread didier .
Hi, What are they used for? It's an issue when you have multiple keyboard definitions. For example with gedit if you have an english and a french keyboard (ie two xkb groups) CRTL+Q doesn't work because the logic catches the a <--> q mapping first an returns the CTRL+A b