From be7a58c33155e0f72ad7b1fb23cf931d085e12cb Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Tue, 30 Oct 2018 22:40:23 -0400 Subject: Lua Fix utf8encode, remove utf16 functions The auto generated utf8/16 encode/decode functions did not work. Upon implementing them correctly I found that lua handles the utf-8 form properly but I could not get utf-16 to work without crashing maybe someone can come along later and implement utf-16 safe string functions but for now utf-16 is removed. Change-Id: I97a044e200dc27f683a45487cd93fce667c670c4 --- apps/plugins/lua/rocklib_aux.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/plugins/lua/rocklib_aux.pl') diff --git a/apps/plugins/lua/rocklib_aux.pl b/apps/plugins/lua/rocklib_aux.pl index f52c64e..f3705bf 100755 --- a/apps/plugins/lua/rocklib_aux.pl +++ b/apps/plugins/lua/rocklib_aux.pl @@ -70,6 +70,9 @@ my @forbidden_functions = ('^open$', '^s?+rand$', '^strl?+cpy$', '^strl?+cat$', + '^iso_decode$', + '^utf8encode$', + '^utf16', '^codec_', '^timer_', '^lcd_(mono_)?+bitmap', -- cgit v1.1