-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Windows code page library for Haskell
--
-- This library provides two modules:
--
--
-- - System.IO.CodePage: a cross-platform module that exports
-- functions which adjust code pages on Windows, and do nothing on other
-- operating systems.
-- - System.Win32.CodePage: On Windows, this exports functions
-- for getting, setting, and analyzing code pages. On other operating
-- systems, this module exports nothing.
--
@package code-page
@version 0.1.3
-- | On Windows, this exports functions for getting, setting, and analyzing
-- code pages. On other operating systems, this exports nothing.
module System.Win32.CodePage
-- | Exports functions which adjust code pages on Windows, and do nothing
-- on other operating systems.
module System.IO.CodePage
-- | Sets the code page for an action to UTF-8 as necessary.
withCP65001 :: IO a -> IO a
-- | Sets the code page for an action to UTF-16LE as necessary.
withCP1200 :: IO a -> IO a
-- | Sets the code page for an action to UTF-16BE as necessary.
withCP1201 :: IO a -> IO a
-- | Sets the code page for an action to UTF-32LE as necessary.
withCP12000 :: IO a -> IO a
-- | Sets the code page for an action to UTF-32BE as necessary.
withCP12001 :: IO a -> IO a
-- | Sets the code page for an action as necessary.
withCodePage :: CodePage -> IO a -> IO a
-- | Sets the code page for an action as necessary. If the Bool
-- argument is True, this function will emit a warning to
-- stderr indicating that the code page has been changed.
-- (withCodePage sets this argument to False.)
withCodePageVerbosity :: Bool -> CodePage -> IO a -> IO a
-- | A numeric type representing Windows code pages.
type CodePage = Word32
-- | The UTF-8 code page.
cp65001 :: CodePage
-- | The UTF-16LE code page.
cp1200 :: CodePage
-- | The UTF-16BE code page.
cp1201 :: CodePage
-- | The UTF-32LE code page.
cp12000 :: CodePage
-- | The UTF-32BE code page.
cp12001 :: CodePage