Page 1 of 1

Does libvlc support Unicode?

Posted: 27 Jan 2011 11:06
by Kevin Hoang
I want to make a small player to play a video with file name has unicode part. Does libvlc support Unicode?

Re: Does libvlc support Unicode?

Posted: 27 Jan 2011 14:03
by XilasZ
yes it does.

Re: Does libvlc support Unicode?

Posted: 27 Jan 2011 15:20
by Kevin Hoang
Look at the libvlc APIs, it only allow basic c string (char*), so how may I add unicode file name to my player?

Re: Does libvlc support Unicode?

Posted: 27 Jan 2011 17:42
by Rémi Denis-Courmont
VLC uses UTF-8.

Re: Does libvlc support Unicode?

Posted: 31 Jan 2011 13:30
by XilasZ
Look at the libvlc APIs, it only allow basic c string (char*), so how may I add unicode file name to my player?
Yes. Just as Rémi said, it's UTF8, so special characters are just encoded on several chars, just send several chars for those, VLC will recognize them.