[vlc] Windows: SMB/CIFS path in cyrillics makes MRL "not found"

Arioch the_Arioch at nm.ru
Fri Sep 17 01:25:41 CEST 2010


I'm running video from one Wiin7 computer to another via standard Windows GUI

In VLC i get for example following error log:

~~~~~~~~~~~~~~~~~~~~~
Чтение файла не удалось:  (~ Fail read failed)
VLC не может открыть файл "\\????????_????????????????\Anime Series
\Викторианский Романс\Victorian Romance Emma 2\Victorian_Romance_Emma_2_- _02_
[Anything-group].mkv". (~ VLC can't open file ....)

Этот источник не открывается: (~ This source can't be open)
VLC не может открыть MRL 'file://КОНЬ_ДАРЕННЫЙ/Anime%20Series/%D0%92%D0%B8%D0%BA
%D1%82%D0%BE%D1%80%D0%B8%D0%B0%D0%BD%D1%81%D0%BA%D0%B8%D0%B9%20%D0%A0%D0%BE
%D0%BC%D0%B0%D0%BD%D1%81/Victorian%20Romance%20Emma%202/
Victorian_Romance_Emma_2_-%20_02_%5BAnything-group%5D.mkv'. (~ VLC can't open 
MRL ... )
Ищите более подробную информацию в лог-файле.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Clearly in server name in 1st part (Windows/DOS/OS|2 so-called UNC path) every 
non-Latin1 letter transformed into two sign questions. Folder name kept intact.

I suspect that mistakingly VLC tried nested twice conversion 1-byte 
windows-1251 (aka ANSI codepage in win32 API) => 2-bytes Unicode-UCS2 (aka 
WideChar in win32 api) on server name

In second error paragraph we can see intact non-damaged and non-escaped server 
name, while folder name is escaped in %xx fashion. However its letters were 
escaped into Unicode UCS2 2-byte sequences while usual encoding in URL's would 
be 3-bytes per non-Latin1 letter Unicode UTF-8. Can't decide if it is symptom 
of error per se. MRL is based on URL's but is not the same.

Also can't tell which of paragraphs is ow-level error source and which is high-
level implication. 




More information about the vlc mailing list