View Single Post
Old 26th April 2006, 04:19   #1  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
Foreign Language characters in filenames

Unicode guru's your help please!

A tracker bug report, [ 1407212 ] Problem with spanish unicode characters in filenames, has me a little perplexed.

Most of AviSynth uses 8 bits character file system calls like fopen and as such relies on the system default conversion of filenames to unicode.

DirectShowSource() is the one exception and it explicitly uses "MultiByteToWideChar(CP_ACP, ..." to do the
filename unicode translation.

To the best of my reseach the system default translation should be equivalent to this code, but for Sven Rieke and naugas and probably many others they are not.

Enlightment required please
IanB is offline   Reply With Quote