[vlc-devel] [vlc-commits] VLSub: Convert path to current codepage

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Apr 5 13:11:11 CEST 2018


On Thu, Apr 5, 2018, at 12:55 PM, Rémi Denis-Courmont wrote:
> This will break very badly if the path contains non-ANSI characters, 
> which is qcommon for exactly the foreign languages content where you 
> need subtitles.
> -- 
> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser 
> ma brièveté.
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

Hi,

lua's io.open uses fopen, which IIUC interprets the given path as ANSI, so I'm not sure if we can do something better (beside patching/forking lua to use unicode, which I'm "a bit" reluctant to do)

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list