Re: How to use UTF-8 command line on Windows?
- From: Jernej Simončič <jernej|s-gmane eternallybored org>
- To: gtk-list gnome org
- Subject: Re: How to use UTF-8 command line on Windows?
- Date: Wed, 24 Nov 2010 22:08:22 +0100
On Wed, 24 Nov 2010 11:02:56 +0600, davian818 gmail com 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/ >
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]