Mehr encoding, yay!

This commit is contained in:
Akamaru 2016-08-05 13:19:05 +02:00
parent c7ca5d73ea
commit aa69bccb12

View File

@ -119,16 +119,23 @@ function encoding(str)
str = string.gsub(str, '“', '') -- left double quotation mark str = string.gsub(str, '“', '') -- left double quotation mark
str = string.gsub(str, '“', '') -- left double quotation mark str = string.gsub(str, '“', '') -- left double quotation mark
str = string.gsub(str, '”', '') -- right double quotation mark str = string.gsub(str, '”', '') -- right double quotation mark
str = string.gsub(str, '”', '') -- right double quotation mark
str = string.gsub(str, '„', '') -- double low-9 quotation mark str = string.gsub(str, '„', '') -- double low-9 quotation mark
str = string.gsub(str, '„', '') -- double low-9 quotation mark str = string.gsub(str, '„', '') -- double low-9 quotation mark
str = string.gsub(str, '†', '') -- dagger str = string.gsub(str, '†', '') -- dagger
str = string.gsub(str, '†', '') -- dagger
str = string.gsub(str, '‡', '') -- double dagger str = string.gsub(str, '‡', '') -- double dagger
str = string.gsub(str, '‡', '') -- double dagger
str = string.gsub(str, '•', '') -- bullet str = string.gsub(str, '•', '') -- bullet
str = string.gsub(str, '•', '') -- bullet
str = string.gsub(str, '…', '') -- horizontal ellipsis str = string.gsub(str, '…', '') -- horizontal ellipsis
str = string.gsub(str, '…', '') -- horizontal ellipsis
str = string.gsub(str, '‰', '') -- per thousand sign str = string.gsub(str, '‰', '') -- per thousand sign
str = string.gsub(str, '‰', '') -- per thousand sign
str = string.gsub(str, '⁈', '') -- euro sign str = string.gsub(str, '⁈', '') -- euro sign
str = string.gsub(str, '€', '') -- euro sign str = string.gsub(str, '€', '') -- euro sign
str = string.gsub(str, '⁚', '') -- trade mark sign str = string.gsub(str, '™', '') -- trade mark sign
str = string.gsub(str, '™', '') -- trade mark sign
-- Numbers -- Numbers
str = string.gsub(str, '0', '0') -- zero str = string.gsub(str, '0', '0') -- zero
@ -332,9 +339,14 @@ function encoding(str)
str = string.gsub(str, 'š', 'š') -- latin small letter s with caron str = string.gsub(str, 'š', 'š') -- latin small letter s with caron
str = string.gsub(str, 'ƒ', 'ƒ') -- latin small f with hook - function str = string.gsub(str, 'ƒ', 'ƒ') -- latin small f with hook - function
-- Special
-- Emoticons (more soon) -- Emoticons (more soon)
str = string.gsub(str, '⭐️', '⭐️') str = string.gsub(str, '⭐️', '⭐️')
-- Japanese Katakana/Kanji (See http://symbolcodes.tlt.psu.edu/bylanguage/japanesechartkatakana.html)
-- Japanese Hiragana (Need a table...)
-- Be sure to do this after all others -- Be sure to do this after all others
str = string.gsub(str, '&', '&') -- amper sand str = string.gsub(str, '&', '&') -- amper sand
str = string.gsub(str, '&', '&') -- amper sand str = string.gsub(str, '&', '&') -- amper sand