From fadef8f38f960f2f6f28e9bf8a964ee2062aa745 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 4 Mar 2009 14:37:26 -0500 Subject: Added LuaDoc for textadept.iconv; core/.textadept.lua --- core/.textadept.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core') diff --git a/core/.textadept.lua b/core/.textadept.lua index d46f6331..cd0a4553 100644 --- a/core/.textadept.lua +++ b/core/.textadept.lua @@ -72,6 +72,15 @@ function get_split_table() end -- with a 'title' key. function gtkmenu(menu_table) end +--- +-- 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. +-- @param text The text to convert. +-- @param to The character set to convert to. +-- @param from The character set to convert from. +function iconv(text, to, from) + --- -- Resets the Lua state by reloading all init scripts. -- Language-specific modules for opened files are NOT reloaded. Re-opening the -- cgit v1.2.3