mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-06-17 23:30:12 -06:00
add cp1252. usefull for Swedish and German
This commit is contained in:
6
src/GF/Text/CP1252.hs
Normal file
6
src/GF/Text/CP1252.hs
Normal file
@@ -0,0 +1,6 @@
|
||||
module GF.Text.CP1252 where
|
||||
|
||||
import Data.Char
|
||||
|
||||
decodeCP1252 = map id
|
||||
encodeCP1252 = map (\x -> if x <= '\255' then x else '?')
|
||||
Reference in New Issue
Block a user