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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -