gedcom-0.1.0.0: Parser for the GEDCOM genealogy file format.

Copyright(c) Callum Lowcay 2017
LicenseBSD3
Maintainercwslowcay@gmail.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Data.Text.Encoding.ANSEL

Description

ANSEL https://en.wikipedia.org/wiki/ANSEL is a character set and associated encodings intended for bibliographic purposes. GEDCOM files use the 8-bit ANSEL encoding by default, so we need a way to decode it. ANSEL has combining diacritics, but they precede the character that they modify (Unicode has it the other way around). This means that the code points must be reordered when converting to Unicode.

Synopsis

Documentation

decodeANSEL Source #

Arguments

:: ByteString

The string to encode

-> Text

Unicode text

Decode an ANSEL string to Unicode