Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== iconv plugin ====== Convert the string 'ÖÖÖÖÖÖHMMM' from UTF-8 to ISO-8859-1: <code> Widget iconv-test { class 'Text' expression iconv('UTF-8', 'ISO-8859-1', 'ÖÖÖÖÖÖHMMM') width 20 align 'P' speed scroller update tack } </code> ===== Code information ===== If you look at the code, then it should be easy to understand: <code> /* iconv function, convert charsets */ /* valid "to" and "from" charsets can be listed by running "iconv --list" from a shell */ /* utf16 & utf32 encodings won't work, as they contain null bytes, confusing strlen */ static void my_iconv(RESULT * result, RESULT * charset_from, RESULT * charset_to, RESULT * arg) </code> plugin_iconv.txt Last modified: 2020/07/17 18:33(external edit)