From 10ec9652736946c6d8a3ebb930529753437f82c9 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 16 Feb 2018 15:30:12 -0500 Subject: Added UTF-16 to the default list of detected encodings. --- core/file_io.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/file_io.lua') diff --git a/core/file_io.lua b/core/file_io.lua index 3b7be8c6..e5766c30 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -78,10 +78,10 @@ io.recent_files = {} -- UTF-16BE, UTF-16LE, UTF-32, UTF-32BE, UTF-32LE, UTF-7, C99, JAVA. -- -- [GNU iconv's encodings]: http://www.gnu.org/software/libiconv/ --- @usage io.encodings[#io.encodings + 1] = 'UTF-16' +-- @usage io.encodings[#io.encodings + 1] = 'UTF-32' -- @class table -- @name encodings -io.encodings = {'UTF-8', 'ASCII', 'ISO-8859-1'} +io.encodings = {'UTF-8', 'ASCII', 'ISO-8859-1', 'UTF-16'} --- -- Opens *filenames*, a string filename or list of filenames, or the -- cgit v1.2.3