From e816ae237a5112364ad2eb7d8cb4f3295ae711e8 Mon Sep 17 00:00:00 2001 From: krasimir Date: Sat, 25 Oct 2008 20:25:09 +0000 Subject: add cp1252. usefull for Swedish and German --- src/GF/Text/CP1252.hs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/GF/Text/CP1252.hs (limited to 'src/GF/Text/CP1252.hs') diff --git a/src/GF/Text/CP1252.hs b/src/GF/Text/CP1252.hs new file mode 100644 index 000000000..1e5affe53 --- /dev/null +++ b/src/GF/Text/CP1252.hs @@ -0,0 +1,6 @@ +module GF.Text.CP1252 where + +import Data.Char + +decodeCP1252 = map id +encodeCP1252 = map (\x -> if x <= '\255' then x else '?') -- cgit v1.2.3