diff options
| author | krasimir <krasimir@chalmers.se> | 2008-10-25 20:25:09 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2008-10-25 20:25:09 +0000 |
| commit | e816ae237a5112364ad2eb7d8cb4f3295ae711e8 (patch) | |
| tree | 398f4b2b95536b95732ed1bec697c64090cd28a9 /src/GF/Text/CP1252.hs | |
| parent | a06d2c6d50a9ed088ba497e33da462bfb806fbaa (diff) | |
add cp1252. usefull for Swedish and German
Diffstat (limited to 'src/GF/Text/CP1252.hs')
| -rw-r--r-- | src/GF/Text/CP1252.hs | 6 |
1 files changed, 6 insertions, 0 deletions
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 '?')
|
