From ef957a0307df0e549df1394e8d0b7f2b98331fa0 Mon Sep 17 00:00:00 2001 From: krasimir Date: Tue, 23 Mar 2010 12:19:34 +0000 Subject: [PATCH] added comment to every GF.Text.CPxxxx module about the purpose of the codepage --- src/compiler/GF/Text/CP1250.hs | 14 ++++++++++++++ src/compiler/GF/Text/CP1251.hs | 12 ++++++++++++ src/compiler/GF/Text/CP1252.hs | 11 +++++++++++ 3 files changed, 37 insertions(+) diff --git a/src/compiler/GF/Text/CP1250.hs b/src/compiler/GF/Text/CP1250.hs index 474c04ace..2ed263877 100644 --- a/src/compiler/GF/Text/CP1250.hs +++ b/src/compiler/GF/Text/CP1250.hs @@ -1,3 +1,17 @@ +----------------------------------------------------------------------------- +-- | +-- Module : GF.Text.CP1250 +-- Maintainer : Krasimir Angelov +-- +-- cp1250 is a code page used under Microsoft Windows to represent texts +-- in Central European and Eastern European languages that use Latin script, +-- such as Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, Croatian, +-- Serbian (Latin script), Romanian and Albanian. It may also be used with +-- the German language; German-language texts encoded with cp1250 and cp1252 +-- are identical. +-- +----------------------------------------------------------------------------- + module GF.Text.CP1250 where import Data.Char diff --git a/src/compiler/GF/Text/CP1251.hs b/src/compiler/GF/Text/CP1251.hs index 7c277abab..8d8ceebf6 100644 --- a/src/compiler/GF/Text/CP1251.hs +++ b/src/compiler/GF/Text/CP1251.hs @@ -1,3 +1,15 @@ +----------------------------------------------------------------------------- +-- | +-- Module : GF.Text.CP1251 +-- Maintainer : Krasimir Angelov +-- +-- cp1251 is a popular 8-bit character encoding, designed to cover languages +-- that use the Cyrillic alphabet such as Russian, Bulgarian, Serbian Cyrillic +-- and other languages. It is the most widely used for encoding the Bulgarian, +-- Serbian and Macedonian languages. +-- +----------------------------------------------------------------------------- + module GF.Text.CP1251 where import Data.Char diff --git a/src/compiler/GF/Text/CP1252.hs b/src/compiler/GF/Text/CP1252.hs index 1e5affe53..a1d8ab8f3 100644 --- a/src/compiler/GF/Text/CP1252.hs +++ b/src/compiler/GF/Text/CP1252.hs @@ -1,3 +1,14 @@ +----------------------------------------------------------------------------- +-- | +-- Module : GF.Text.CP1252 +-- Maintainer : Krasimir Angelov +-- +-- cp1252 is a character encoding of the Latin alphabet, used by default in +-- the legacy components of Microsoft Windows in English and some other +-- Western languages. +-- +----------------------------------------------------------------------------- + module GF.Text.CP1252 where import Data.Char