From b1d103ecb28589d507477715f25fba5641d247c8 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 28 Feb 2009 20:55:22 -0500 Subject: Use UTF-8 internally and respect platform filename encoding. Added 'textadept.iconv' function to interface with GLib's g_convert() and set global _CHARSET to be the platform's filename encoding/code page. --- core/.buffer.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core/.buffer.lua') diff --git a/core/.buffer.lua b/core/.buffer.lua index 085c5eaa..62672fa5 100644 --- a/core/.buffer.lua +++ b/core/.buffer.lua @@ -18,6 +18,7 @@ module('buffer') -- @field dirty Flag indicating whether or not the buffer has been modified -- since it was last saved. -- @field filename The absolute path to the file associated with this buffer. +-- It is encoded in UTF-8. Use 'textadept.iconv()' for charset conversions. -- @field anchor The position of the opposite end of the selection to the -- caret. -- @field auto_c_auto_hide Flag indicating whether or not autocompletion is -- cgit v1.2.3