Opening file that contains apostrophs in name

This forum is about all development around libVLC.
motty
New Cone
New Cone
Posts: 4
Joined: 02 Jun 2014 20:24

Opening file that contains apostrophs in name

Postby motty » 04 Jun 2014 22:47

Code: Select all

m = libvlc_media_new_path(inst, "D:\\12. I Don’t Care (Feat. Maejor Ali).mp3");
DEBUGGER SAYS: VLC is unable to open MRL ....

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Opening file that contains apostrophs in name

Postby Jean-Baptiste Kempf » 05 Jun 2014 14:41

URLEncode it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

motty
New Cone
New Cone
Posts: 4
Joined: 02 Jun 2014 20:24

Re: Opening file that contains apostrophs in name

Postby motty » 06 Jun 2014 00:10

URLEncode it.
Thank you! But i solved this by converting name of file to UTF-8


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 24 guests