Re: Unicode or not?

Glynn Clements <[email protected]> Mon, 5 Mar 2012 19:57:25 +0000
Newsgroups gmane.linux.c-programming
Message-ID <[email protected]>
Krzysztof wrote:

> Does it happen that command line which is passed to program arguments
> is "unicoded"? In other words, when should "main" be defined as
> "main(int argc, wchar_t **argv)"?

Never. Windows supports a wmain() function which uses wchar_t** for
argv, but there is no equivalent on Unix.

Unix doesn't normally use wide strings for communication between
programs or between programs and the OS. Unicode text invariably uses
UTF-8.

-- 
Glynn Clements <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html