[vlc-devel] [PATCH 2/2] cue: fix decoding of Latin1 (fix #9238)

Ludovic Fauvet etix at videolan.org
Tue Aug 27 15:15:53 CEST 2013


---
 share/lua/playlist/cue.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/playlist/cue.lua b/share/lua/playlist/cue.lua
index 794a400..ad0be09 100644
--- a/share/lua/playlist/cue.lua
+++ b/share/lua/playlist/cue.lua
@@ -32,7 +32,7 @@ end
 
 -- Helpers
 function cue_string( src )
-	local sub = string.match( src, "^\"(.*)\".*$" );
+	local sub = string.match( vlc.strings.guess_encoding(src), "^\"(.*)\".*$" );
 	if( sub ) then
 		return sub
 	end
-- 
1.8.4




More information about the vlc-devel mailing list