Hi, 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 have. Now I find myself in a problem, I need to have the arguments of the program in a array of wchar_t's and in a wchar_t string.
Is it possible? I'm defining the main
function as
int main(int argc, char *argv[])
Should I use wchar_t's for argv
?
Thank you very much, I seem not to find useful info on how to use Unicode properly in C.