Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Data/Text/Encoding.hs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ decodeASCII bs =
-- | Decode a 'ByteString' containing Latin-1 (aka ISO-8859-1) encoded text.
--
-- 'decodeLatin1' is semantically equivalent to
-- @Data.Text.pack . Data.ByteString.Char8.unpack@
-- @'Data.Text.pack' . 'Data.ByteString.Char8.unpack'@
--
-- This is a total function. However, bear in mind that decoding Latin-1 (non-ASCII)
-- characters to UTf-8 requires actual work and is not just buffer copying.
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Text/IO.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
-- The functions in this module obey the runtime system's locale,
-- character set encoding, and line ending conversion settings.
--
-- If you want to do I\/O using the UTF-8 encoding, use @Data.Text.IO.Utf8@,
-- If you want to do I\/O using the UTF-8 encoding, use "Data.Text.IO.Utf8",
-- which is faster than this module.
--
-- If you know in advance that you will be working with data that has
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Text/IO/Utf8.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-- Portability : GHC
--
-- Efficient UTF-8 support for text I\/O.
-- Unlike @Data.Text.IO@, these functions do not depend on the locale
-- Unlike "Data.Text.IO", these functions do not depend on the locale
-- and do not do line ending conversion.
module Data.Text.IO.Utf8
(
Expand Down