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 <glynn@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html