aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/file_io.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-02-16 15:30:12 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-02-16 15:30:12 -0500
commit10ec9652736946c6d8a3ebb930529753437f82c9 (patch)
tree18f671681f8259709dc548e88fa4611756cac04c /core/file_io.lua
parentf4d6e2434329917799b89a91ff1063ed75127466 (diff)
Added UTF-16 to the default list of detected encodings.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua4
1 files changed, 2 insertions, 2 deletions
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