diff options
author | 2009-02-28 20:55:22 -0500 | |
---|---|---|
committer | 2009-02-28 20:55:22 -0500 | |
commit | b1d103ecb28589d507477715f25fba5641d247c8 (patch) | |
tree | 2aff52d12db043853c2688added7c31e758460a1 /core/.buffer.lua | |
parent | 36aaa46d7f71e3efa26a7fdf66fac537c060f414 (diff) | |
download | textadept-b1d103ecb28589d507477715f25fba5641d247c8.tar.gz textadept-b1d103ecb28589d507477715f25fba5641d247c8.zip |
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.
Diffstat (limited to 'core/.buffer.lua')
-rw-r--r-- | core/.buffer.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |