Re: How to use UTF-8 command line on Windows?

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

 



On Wed, 24 Nov 2010 11:02:56 +0600, davian818@xxxxxxxxx wrote:

> When g_option_context_parse() is used in Windows, it tries to convert all command arguments to UTF-8 from CP125x. If they are already encoded in UTF-8, they are re-encoded being corrupted in process. How to work it around?

You'll probably have to write a separate command-line handler for Windows -
look at the GetCommandLine and CommandLineToArgvW Win32 APIs.

-- 
< Jernej SimonÄiÄ ><><><><>< http://eternallybored.org/ >

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux