From ed91aa74ec7dacf3d4f7f794ac571bd7ffcc8cc0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 30 Jul 2019 16:52:48 -0400 Subject: Use CP1252 instead of ISO-8859-1. CP1252 is a superset of ISO-8859-1. --- modules/textadept/keys.lua | 4 ++-- modules/textadept/menu.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index 5724ff42..0d66cbec 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -112,7 +112,7 @@ local M = {} -- None |None |None |LF EOL mode -- None |None |None |UTF-8 encoding -- None |None |None |ASCII encoding --- None |None |None |ISO-8859-1 encoding +-- None |None |None |CP-1252 encoding -- None |None |None |UTF-16 encoding -- Ctrl+Alt+Enter |^↩ |None |Toggle view EOL -- Ctrl+Alt+\\ |^\\ |None |Toggle wrap mode @@ -439,7 +439,7 @@ keys[not OSX and (GUI and 'cai' or 'mi') -- Encoding. -- TODO: m_buffer[_L['E_ncoding']][_L['_UTF-8 Encoding']][2] -- TODO: m_buffer[_L['E_ncoding']][_L['_ASCII Encoding']][2] --- TODO: m_buffer[_L['E_ncoding']][_L['_ISO-8859-1 Encoding']][2] +-- TODO: m_buffer[_L['E_ncoding']][_L['_CP-1252 Encoding']][2] -- TODO: m_buffer[_L['E_ncoding']][_L['UTF-1_6 Encoding']][2] if GUI then keys[not OSX and 'ca\n' or 'c\n'] = m_buffer[_L['Toggle View _EOL']][2] diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index bbfe6d33..2cd738d3 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -289,7 +289,7 @@ local default_menubar = { title = _L['E_ncoding'], {_L['_UTF-8 Encoding'], function() set_encoding('UTF-8') end}, {_L['_ASCII Encoding'], function() set_encoding('ASCII') end}, - {_L['_ISO-8859-1 Encoding'], function() set_encoding('ISO-8859-1') end}, + {_L['_CP-1252 Encoding'], function() set_encoding('CP1252') end}, {_L['UTF-1_6 Encoding'], function() set_encoding('UTF-16LE') end} }, SEPARATOR, -- cgit v1.2.3