Textadept
- Home |
- Download |
- Lua API |
- Source |
- Language Modules |
- Stats |
- Wiki |
- Mailing List
string
Extends Lua’s string package to provide character set conversions.
Functions
iconv
(text, to, from)
Converts a string from one character set to another using iconv.
Valid character sets are ones GLib’s g_convert()
accepts, typically GNU
iconv’s character sets.
Parameters:
text
: The text to convert.to
: The character set to convert to.from
: The character set to convert from.