diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-08-27 15:00:58 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-08-27 15:00:58 +0100 |
commit | 796fd6e22a956b5431a960dfeccd53d4d1f7a568 (patch) | |
tree | 978b9362647945899206252e3150c452f5264b8f | |
parent | acb8f47850b0606cc9c9635723b04018b5162c5a (diff) | |
download | tongue-796fd6e22a956b5431a960dfeccd53d4d1f7a568.tar.bz2 |
-rw-r--r-- | lib/tongue/transliteration.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tongue/transliteration.lua b/lib/tongue/transliteration.lua index 8ac2318..a2266d2 100644 --- a/lib/tongue/transliteration.lua +++ b/lib/tongue/transliteration.lua @@ -108,19 +108,19 @@ local function guess_converter(env) if category and category ~= "" then local _, __, enc = util.split_category(category) if enc == "" then enc = nil end - return get_converter(enc or "UTF-8") + return get_converter(enc or "UTF-8"), category end category = getenv "LC_MESSAGES" if category and category ~= "" then local _, __, enc = util.split_category(category) if enc == "" then enc = nil end - return get_converter(enc or "UTF-8") + return get_converter(enc or "UTF-8"), category end category = getenv "LANG" if category and category ~= "" then local _, __, enc = util.split_category(category) if enc == "" then enc = nil end - return get_converter(enc or "UTF-8") + return get_converter(enc or "UTF-8"), category end return get_converter("UTF-8") end |