[libdvdcss-devel] [PATCH] Win32: move to WideChars for cache folder
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Mar 11 13:28:19 CET 2013
Jean-Baptiste Kempf <jb at videolan.org> wrote:
>On 11 Mar, Reimar Döffinger wrote :
>> Of course it's also possible that my assumption of it falling back to
>8.3 is wrong.
>
>Well, I don't see any documentation of this assumption on MSDN.
>If you have a link, please share.
Well, it doesn't seem unusual for it to return the short path, which means reproducing the issue might be hard:
http://www.powerbasic.com/support/pbforums/showthread.php?t=8994
On the other hand the opposite seems possible as well:
http://stackoverflow.com/questions/4547917/shgetfolderpath-returns-path-with-question-marks-in-it
Now I see that you just make the function return a utf8 string, does that mean dvdcss uses a wrapper around the Windows open function? (can't look at the code currently)
In that case it its also possible that this wrapper might actually break things...
If we do not use such a wrapper yet, the solution in above link of getting the short name might be more reliable...
More information about the libdvdcss-devel
mailing list