c++ - How would one get a UTF-8/Unicode string from GetOpenFileName? -
i'm developing application in mingw/c++ uses windows' common dialogs. need has arisen collect file name might have non-ascii characters in it. there flag or option retrieving file name in unicode, or preferably utf-8?
call getopenfilenamew. can without converting entire app unicode may expedient solution.
windows api comes in 2 flavours, ansi , unicode. former has functions suffix. latter have w suffix. using former.
Comments
Post a Comment