W3cubDocs

/Haskell 8

Data.Text.Internal.Encoding.Utf8

Copyright (c) 2008 2009 Tom Harper
(c) 2009 2010 Bryan O'Sullivan
(c) 2009 Duncan Coutts
License BSD-style
Maintainer [email protected]
Stability experimental
Portability GHC
Safe Haskell None
Language Haskell2010

Contents

Description

Warning: this is an internal module, and does not have a stable API or name. Functions in this module may not check or enforce preconditions expected by public modules. Use at your own risk!

Basic UTF-8 validation and character manipulation.

ord2 :: Char -> (Word8, Word8) Source

ord3 :: Char -> (Word8, Word8, Word8) Source

ord4 :: Char -> (Word8, Word8, Word8, Word8) Source

chr2 :: Word8 -> Word8 -> Char Source

chr3 :: Word8 -> Word8 -> Word8 -> Char Source

chr4 :: Word8 -> Word8 -> Word8 -> Word8 -> Char Source

Validation

validate1 :: Word8 -> Bool Source

validate2 :: Word8 -> Word8 -> Bool Source

validate3 :: Word8 -> Word8 -> Word8 -> Bool Source

validate4 :: Word8 -> Word8 -> Word8 -> Word8 -> Bool Source

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.8.3/docs/html/libraries/text-1.2.4.0/Data-Text-Internal-Encoding-Utf8.html