[FFmpeg-devel] [PATCH] Support for UTF8 filenames on Windows
Sat Jun 20 23:56:37 CEST 2009
Currently, ffmpeg on Windows does not support opening files whose names contain
characters that cannot be expressed in the current locale, because on Windows
you can't pass UTF8 in a char* to _open() and have it work. You have to convert
the filename to UTF16 and use _wopen(), which takes a wchar_t instead.
I have attached a patch that attempts to solve the problem with a rather ugly
hack. It Works For Me(tm) under mingw at least. Comments are appreciated.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel