diff options
author | William Wilgus <me.theuser@yahoo.com> | 2018-10-30 22:40:23 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-11-01 16:34:02 +0100 |
commit | be7a58c33155e0f72ad7b1fb23cf931d085e12cb (patch) | |
tree | 201356811efb70aed3199194fbb4e61a599b2ff3 /apps/plugins/lua/rocklib_aux.pl | |
parent | bbfe4778114c76e23e9c391225da2d6f74812735 (diff) | |
download | rockbox-be7a58c33155e0f72ad7b1fb23cf931d085e12cb.tar.gz rockbox-be7a58c33155e0f72ad7b1fb23cf931d085e12cb.zip |
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
Diffstat (limited to 'apps/plugins/lua/rocklib_aux.pl')
-rwxr-xr-x | apps/plugins/lua/rocklib_aux.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklib_aux.pl b/apps/plugins/lua/rocklib_aux.pl index f52c64e98b..f3705bf2d1 100755 --- a/apps/plugins/lua/rocklib_aux.pl +++ b/apps/plugins/lua/rocklib_aux.pl | |||
@@ -70,6 +70,9 @@ my @forbidden_functions = ('^open$', | |||
70 | '^s?+rand$', | 70 | '^s?+rand$', |
71 | '^strl?+cpy$', | 71 | '^strl?+cpy$', |
72 | '^strl?+cat$', | 72 | '^strl?+cat$', |
73 | '^iso_decode$', | ||
74 | '^utf8encode$', | ||
75 | '^utf16', | ||
73 | '^codec_', | 76 | '^codec_', |
74 | '^timer_', | 77 | '^timer_', |
75 | '^lcd_(mono_)?+bitmap', | 78 | '^lcd_(mono_)?+bitmap', |