Character encoding

Discuss your Lua playlist, album art and interface scripts.
INSA
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Oct 2010 13:50

Character encoding

Postby INSA » 11 Apr 2011 21:07

Hello !

I would like to simply create a file into a directory whose path have accents.

But unfortunately, it doesn't work. I saw in the "readme file" that there is a function which allows to convert a string from a specified
character encoding into UTF-8. --> strings.from_charset( charset, str ). But this function doesn't work ( vlc 1.1.8 ).

Have you got a solution for this issue ?

Thank you !

ale5000
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 03 Mar 2004 16:12
Operating System: Windows
Contact:

Re: Character encoding

Postby ale5000 » 19 May 2011 06:15

I would like this function also.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Character encoding

Postby Rémi Denis-Courmont » 20 May 2011 10:00

This function is used in two of VLC official plugins, so I have to assume that it does work...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ale5000
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 03 Mar 2004 16:12
Operating System: Windows
Contact:

Re: Character encoding

Postby ale5000 » 20 May 2011 16:45

I have noticed now that it is already implemented in VLC 1.2.x


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 1 guest