Commit b5746390 authored by Rémi Duraffort's avatar Rémi Duraffort

lelombrik: fix title encoding.

parent 2797ca1c
...@@ -37,6 +37,9 @@ function parse() ...@@ -37,6 +37,9 @@ function parse()
if string.match( line, "id=\"nom_fichier\">" ) then if string.match( line, "id=\"nom_fichier\">" ) then
title = string.gsub( line, ".*\"nom_fichier\">([^<]*).*", "%1" ) title = string.gsub( line, ".*\"nom_fichier\">([^<]*).*", "%1" )
if title then
title = vlc.strings.iconv( "UTF8", "ISO_8859-1", title )
end
elseif string.match( line, "'file'" ) then elseif string.match( line, "'file'" ) then
_,_,path = string.find( line, "'file', *'([^']*)") _,_,path = string.find( line, "'file', *'([^']*)")
elseif string.match( line, "flashvars=" ) then elseif string.match( line, "flashvars=" ) then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment