Re: Glib: a Win32 discussion
- From: Tim Evans <t evans aranz com>
- To: gtk-devel-list gnome org
- Subject: Re: Glib: a Win32 discussion
- Date: Sun, 10 Apr 2011 23:29:36 +1200
On 2011-04-07 15:09, Krzysztof Kosiński wrote:
2011/4/6 Kean Johnston<kean johnston gmail com>:
Everyone,
WARNING: long, detailed message. If you don't care about Win32, move on.
Other annoying Windows issues specific to glib:
1. GOption fails hard for filenames which are in a language different
than your Windows. E.g. Chinese or Russian filenames on English
Windows. The arguments passed to main() contain "?" in place of the
Chinese / Russian characters and that's just not enough information to
correctly identify the file. More detail in the bug:
https://bugzilla.gnome.org/show_bug.cgi?id=522131
[snip]
A combination of GetCommandLineW and CommandLineToArgvW can get you the
arguments as wchar_t strings which could then be converted to utf8. Is
this just something that glib needs to provide a convenience function
for? g_win32_get_utf8_argv() maybe?
--
Tim Evans
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]