Is it possible to use a Unicode “argv”?

后端 未结 6 990
南旧
南旧 2021-02-07 09:48

I\'m writing a little wrapper for an application that uses files as arguments.

The wrapper needs to be in Unicode, so I\'m using wchar_t for the characters and strings I

6条回答
  •  独厮守ぢ
    2021-02-07 10:12

    Portable code doesn't support it. Windows (for example) supports using wmain instead of main, in which case argv is passed as wide characters.

提交回复
热议问题