On Sat, Jul 08, 2006 at 03:32:40AM -0500, Jonathan Beavers wrote:
I'm trying to pass UTF-8 character strings to a stripped-down ffmpeg binary I built, but I can't seem to get av_open_input_file to work. This isn't too surprising,
It is surprising. UTF-8 is completely transparent to apps and should work with no special support whatsoever, except for when it comes to displaying the names on a terminal or in a gui.
but I'm kind of at the end of my rope trying to figure out how to play with files that have non-latin characters in the name.
Perhaps the encoding on disk is not UTF-8? No mangling of filenames is performed so you must use the on-disk encoding. Or... are you perhaps using windows and not telling us that? In that case it's probably an insurmountible limitation unless you can fix mingw/msvcrt.dll to correctly translate the UTF-8 filenames to the windows-internal UTF-16. Rich