| Win32-2.1.1.1: A binding to part of the Win32 library | Source code | Contents | Index
System.Win32.NLS |
Portability | portable
Stability | provisional
Maintainer | Esa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32.
Synopsis
lOCALE_SYSTEM_DEFAULT :: LCID
lOCALE_USER_DEFAULT :: LCID
lOCALE_NEUTRAL :: LCID
convertDefaultLocale :: LCID -> IO LCID
type CodePage = UINT
cP_ACP :: CodePage
cP_MACCP :: CodePage
cP_OEMCP :: CodePage
getACP :: IO CodePage
setThreadLocale :: LCID -> IO ()
type LCTYPE = UINT
lOCALE_ICALENDARTYPE :: LCTYPE
lOCALE_SDATE :: LCTYPE
lOCALE_ICURRDIGITS :: LCTYPE
lOCALE_SDECIMAL :: LCTYPE
lOCALE_ICURRENCY :: LCTYPE
lOCALE_SGROUPING :: LCTYPE
lOCALE_IDIGITS :: LCTYPE
lOCALE_SLIST :: LCTYPE
lOCALE_IFIRSTDAYOFWEEK :: LCTYPE
lOCALE_SLONGDATE :: LCTYPE
lOCALE_IFIRSTWEEKOFYEAR :: LCTYPE
lOCALE_SMONDECIMALSEP :: LCTYPE
lOCALE_ILZERO :: LCTYPE
lOCALE_SMONGROUPING :: LCTYPE
lOCALE_IMEASURE :: LCTYPE
lOCALE_SMONTHOUSANDSEP :: LCTYPE
lOCALE_INEGCURR :: LCTYPE
lOCALE_SNEGATIVESIGN :: LCTYPE
lOCALE_INEGNUMBER :: LCTYPE
lOCALE_SPOSITIVESIGN :: LCTYPE
lOCALE_SSHORTDATE :: LCTYPE
lOCALE_ITIME :: LCTYPE
lOCALE_STHOUSAND :: LCTYPE
lOCALE_S1159 :: LCTYPE
lOCALE_STIME :: LCTYPE
lOCALE_S2359 :: LCTYPE
lOCALE_STIMEFORMAT :: LCTYPE
lOCALE_SCURRENCY :: LCTYPE
setLocaleInfo :: LCID -> LCTYPE -> String -> IO ()
c_SetLocaleInfo :: LCID -> LCTYPE -> LPCTSTR -> IO Bool
type LCMapFlags = DWORD
lCMAP_BYTEREV :: LCMapFlags
lCMAP_FULLWIDTH :: LCMapFlags
lCMAP_HALFWIDTH :: LCMapFlags
lCMAP_HIRAGANA :: LCMapFlags
lCMAP_KATAKANA :: LCMapFlags
lCMAP_LOWERCASE :: LCMapFlags
lCMAP_SORTKEY :: LCMapFlags
lCMAP_UPPERCASE :: LCMapFlags
nORM_IGNORECASE :: LCMapFlags
nORM_IGNORENONSPACE :: LCMapFlags
nORM_IGNOREKANATYPE :: LCMapFlags
nORM_IGNORESYMBOLS :: LCMapFlags
nORM_IGNOREWIDTH :: LCMapFlags
sORT_STRINGSORT :: LCMapFlags
lCMAP_LINGUISTIC_CASING :: LCMapFlags
lCMAP_SIMPLIFIED_CHINESE :: LCMapFlags
lCMAP_TRADITIONAL_CHINESE :: LCMapFlags
lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String
c_LCMapString :: LCID -> LCMapFlags -> LPCTSTR -> Int -> LPCTSTR -> Int -> IO Int
type LocaleTestFlags = DWORD
lCID_INSTALLED :: LocaleTestFlags
lCID_SUPPORTED :: LocaleTestFlags
isValidLocale :: LCID -> LocaleTestFlags -> IO Bool
isValidCodePage :: CodePage -> IO Bool
getUserDefaultLCID :: LCID
getUserDefaultLangID :: LANGID
getThreadLocale :: IO LCID
getSystemDefaultLCID :: LCID
getSystemDefaultLangID :: LANGID
getOEMCP :: CodePage
lANG_NEUTRAL :: PrimaryLANGID
lANG_BULGARIAN :: PrimaryLANGID
lANG_CHINESE :: PrimaryLANGID
lANG_CZECH :: PrimaryLANGID
lANG_DANISH :: PrimaryLANGID
lANG_GERMAN :: PrimaryLANGID
lANG_GREEK :: PrimaryLANGID
lANG_ENGLISH :: PrimaryLANGID
lANG_SPANISH :: PrimaryLANGID
lANG_FINNISH :: PrimaryLANGID
lANG_FRENCH :: PrimaryLANGID
lANG_HUNGARIAN :: PrimaryLANGID
lANG_ICELANDIC :: PrimaryLANGID
lANG_ITALIAN :: PrimaryLANGID
lANG_JAPANESE :: PrimaryLANGID
lANG_KOREAN :: PrimaryLANGID
lANG_DUTCH :: PrimaryLANGID
lANG_NORWEGIAN :: PrimaryLANGID
lANG_POLISH :: PrimaryLANGID
lANG_PORTUGUESE :: PrimaryLANGID
lANG_ROMANIAN :: PrimaryLANGID
lANG_RUSSIAN :: PrimaryLANGID
lANG_CROATIAN :: PrimaryLANGID
lANG_SLOVAK :: PrimaryLANGID
lANG_SWEDISH :: PrimaryLANGID
lANG_TURKISH :: PrimaryLANGID
lANG_SLOVENIAN :: PrimaryLANGID
lANG_ARABIC :: PrimaryLANGID
lANG_CATALAN :: PrimaryLANGID
lANG_HEBREW :: PrimaryLANGID
lANG_SERBIAN :: PrimaryLANGID
lANG_ALBANIAN :: PrimaryLANGID
lANG_THAI :: PrimaryLANGID
lANG_URDU :: PrimaryLANGID
lANG_INDONESIAN :: PrimaryLANGID
lANG_BELARUSIAN :: PrimaryLANGID
lANG_ESTONIAN :: PrimaryLANGID
lANG_LATVIAN :: PrimaryLANGID
lANG_LITHUANIAN :: PrimaryLANGID
lANG_FARSI :: PrimaryLANGID
lANG_VIETNAMESE :: PrimaryLANGID
lANG_ARMENIAN :: PrimaryLANGID
lANG_AZERI :: PrimaryLANGID
lANG_BASQUE :: PrimaryLANGID
lANG_MACEDONIAN :: PrimaryLANGID
lANG_AFRIKAANS :: PrimaryLANGID
lANG_GEORGIAN :: PrimaryLANGID
lANG_FAEROESE :: PrimaryLANGID
lANG_HINDI :: PrimaryLANGID
lANG_MALAY :: PrimaryLANGID
lANG_KAZAK :: PrimaryLANGID
lANG_SWAHILI :: PrimaryLANGID
lANG_UZBEK :: PrimaryLANGID
lANG_TATAR :: PrimaryLANGID
lANG_BENGALI :: PrimaryLANGID
lANG_PUNJABI :: PrimaryLANGID
lANG_GUJARATI :: PrimaryLANGID
lANG_ORIYA :: PrimaryLANGID
lANG_TAMIL :: PrimaryLANGID
lANG_TELUGU :: PrimaryLANGID
lANG_KANNADA :: PrimaryLANGID
lANG_MALAYALAM :: PrimaryLANGID
lANG_ASSAMESE :: PrimaryLANGID
lANG_MARATHI :: PrimaryLANGID
lANG_SANSKRIT :: PrimaryLANGID
lANG_KONKANI :: PrimaryLANGID
lANG_MANIPURI :: PrimaryLANGID
lANG_SINDHI :: PrimaryLANGID
lANG_KASHMIRI :: PrimaryLANGID
lANG_NEPALI :: PrimaryLANGID
sORT_DEFAULT :: SortID
sORT_JAPANESE_XJIS :: SortID
sORT_JAPANESE_UNICODE :: SortID
sORT_CHINESE_BIG5 :: SortID
sORT_CHINESE_UNICODE :: SortID
sORT_KOREAN_KSC :: SortID
sORT_KOREAN_UNICODE :: SortID
sUBLANG_NEUTRAL :: SubLANGID
sUBLANG_DEFAULT :: SubLANGID
sUBLANG_SYS_DEFAULT :: SubLANGID
sUBLANG_CHINESE_TRADITIONAL :: SubLANGID
sUBLANG_CHINESE_SIMPLIFIED :: SubLANGID
sUBLANG_CHINESE_HONGKONG :: SubLANGID
sUBLANG_CHINESE_SINGAPORE :: SubLANGID
sUBLANG_DUTCH :: SubLANGID
sUBLANG_DUTCH_BELGIAN :: SubLANGID
sUBLANG_ENGLISH_US :: SubLANGID
sUBLANG_ENGLISH_UK :: SubLANGID
sUBLANG_ENGLISH_AUS :: SubLANGID
sUBLANG_ENGLISH_CAN :: SubLANGID
sUBLANG_ENGLISH_NZ :: SubLANGID
sUBLANG_ENGLISH_EIRE :: SubLANGID
sUBLANG_FRENCH :: SubLANGID
sUBLANG_FRENCH_BELGIAN :: SubLANGID
sUBLANG_FRENCH_CANADIAN :: SubLANGID
sUBLANG_FRENCH_SWISS :: SubLANGID
sUBLANG_GERMAN :: SubLANGID
sUBLANG_GERMAN_SWISS :: SubLANGID
sUBLANG_GERMAN_AUSTRIAN :: SubLANGID
sUBLANG_ITALIAN :: SubLANGID
sUBLANG_ITALIAN_SWISS :: SubLANGID
sUBLANG_NORWEGIAN_BOKMAL :: SubLANGID
sUBLANG_NORWEGIAN_NYNORSK :: SubLANGID
sUBLANG_PORTUGUESE :: SubLANGID
sUBLANG_PORTUGUESE_BRAZILIAN :: SubLANGID
sUBLANG_SPANISH :: SubLANGID
sUBLANG_SPANISH_MEXICAN :: SubLANGID
sUBLANG_SPANISH_MODERN :: SubLANGID
sUBLANG_ARABIC_SAUDI_ARABIA :: SubLANGID
sUBLANG_ARABIC_IRAQ :: SubLANGID
sUBLANG_ARABIC_EGYPT :: SubLANGID
sUBLANG_ARABIC_LIBYA :: SubLANGID
sUBLANG_ARABIC_ALGERIA :: SubLANGID
sUBLANG_ARABIC_MOROCCO :: SubLANGID
sUBLANG_ARABIC_TUNISIA :: SubLANGID
sUBLANG_ARABIC_OMAN :: SubLANGID
sUBLANG_ARABIC_YEMEN :: SubLANGID
sUBLANG_ARABIC_SYRIA :: SubLANGID
sUBLANG_ARABIC_JORDAN :: SubLANGID
sUBLANG_ARABIC_LEBANON :: SubLANGID
sUBLANG_ARABIC_KUWAIT :: SubLANGID
sUBLANG_ARABIC_UAE :: SubLANGID
sUBLANG_ARABIC_BAHRAIN :: SubLANGID
sUBLANG_ARABIC_QATAR :: SubLANGID
sUBLANG_AZERI_CYRILLIC :: SubLANGID
sUBLANG_AZERI_LATIN :: SubLANGID
sUBLANG_CHINESE_MACAU :: SubLANGID
sUBLANG_ENGLISH_SOUTH_AFRICA :: SubLANGID
sUBLANG_ENGLISH_JAMAICA :: SubLANGID
sUBLANG_ENGLISH_CARIBBEAN :: SubLANGID
sUBLANG_ENGLISH_BELIZE :: SubLANGID
sUBLANG_ENGLISH_TRINIDAD :: SubLANGID
sUBLANG_ENGLISH_PHILIPPINES :: SubLANGID
sUBLANG_ENGLISH_ZIMBABWE :: SubLANGID
sUBLANG_FRENCH_LUXEMBOURG :: SubLANGID
sUBLANG_FRENCH_MONACO :: SubLANGID
sUBLANG_GERMAN_LUXEMBOURG :: SubLANGID
sUBLANG_GERMAN_LIECHTENSTEIN :: SubLANGID
sUBLANG_KASHMIRI_INDIA :: SubLANGID
sUBLANG_KOREAN :: SubLANGID
sUBLANG_LITHUANIAN :: SubLANGID
sUBLANG_MALAY_MALAYSIA :: SubLANGID
sUBLANG_MALAY_BRUNEI_DARUSSALAM :: SubLANGID
sUBLANG_NEPALI_INDIA :: SubLANGID
sUBLANG_SERBIAN_LATIN :: SubLANGID
sUBLANG_SERBIAN_CYRILLIC :: SubLANGID
sUBLANG_SPANISH_GUATEMALA :: SubLANGID
sUBLANG_SPANISH_COSTA_RICA :: SubLANGID
sUBLANG_SPANISH_PANAMA :: SubLANGID
sUBLANG_SPANISH_DOMINICAN_REPUBLIC :: SubLANGID
sUBLANG_SPANISH_VENEZUELA :: SubLANGID
sUBLANG_SPANISH_COLOMBIA :: SubLANGID
sUBLANG_SPANISH_PERU :: SubLANGID
sUBLANG_SPANISH_ARGENTINA :: SubLANGID
sUBLANG_SPANISH_ECUADOR :: SubLANGID
sUBLANG_SPANISH_CHILE :: SubLANGID
sUBLANG_SPANISH_URUGUAY :: SubLANGID
sUBLANG_SPANISH_PARAGUAY :: SubLANGID
sUBLANG_SPANISH_BOLIVIA :: SubLANGID
sUBLANG_SPANISH_EL_SALVADOR :: SubLANGID
sUBLANG_SPANISH_HONDURAS :: SubLANGID
sUBLANG_SPANISH_NICARAGUA :: SubLANGID
sUBLANG_SPANISH_PUERTO_RICO :: SubLANGID
sUBLANG_SWEDISH :: SubLANGID
sUBLANG_SWEDISH_FINLAND :: SubLANGID
sUBLANG_URDU_PAKISTAN :: SubLANGID
sUBLANG_URDU_INDIA :: SubLANGID
sUBLANG_UZBEK_LATIN :: SubLANGID
sUBLANG_UZBEK_CYRILLIC :: SubLANGID
stringToUnicode :: CodePage -> String -> IO String
multiByteToWideChar :: CodePage -> DWORD -> LPCSTR -> CInt -> LPWSTR -> CInt -> IO CInt
type LCID = DWORD
type LANGID = WORD
type SortID = WORD
type SubLANGID = WORD
type PrimaryLANGID = WORD
mAKELCID :: LANGID -> SortID -> LCID
lANGIDFROMLCID :: LCID -> LANGID
sORTIDFROMLCID :: LCID -> SortID
mAKELANGID :: PrimaryLANGID -> SubLANGID -> LANGID
pRIMARYLANGID :: LANGID -> PrimaryLANGID
sUBLANGID :: LANGID -> SubLANGID
Documentation
lOCALE_SYSTEM_DEFAULT :: LCID | Source
lOCALE_USER_DEFAULT :: LCID | Source
lOCALE_NEUTRAL :: LCID | Source
convertDefaultLocale :: LCID -> IO LCID | Source
type CodePage = UINT | Source
cP_ACP :: CodePage | Source
cP_MACCP :: CodePage | Source
cP_OEMCP :: CodePage | Source
getACP :: IO CodePage | Source
setThreadLocale :: LCID -> IO () | Source
type LCTYPE = UINT | Source
lOCALE_ICALENDARTYPE :: LCTYPE | Source
lOCALE_SDATE :: LCTYPE | Source
lOCALE_ICURRDIGITS :: LCTYPE | Source
lOCALE_SDECIMAL :: LCTYPE | Source
lOCALE_ICURRENCY :: LCTYPE | Source
lOCALE_SGROUPING :: LCTYPE | Source
lOCALE_IDIGITS :: LCTYPE | Source
lOCALE_SLIST :: LCTYPE | Source
lOCALE_IFIRSTDAYOFWEEK :: LCTYPE | Source
lOCALE_SLONGDATE :: LCTYPE | Source
lOCALE_IFIRSTWEEKOFYEAR :: LCTYPE | Source
lOCALE_SMONDECIMALSEP :: LCTYPE | Source
lOCALE_ILZERO :: LCTYPE | Source
lOCALE_SMONGROUPING :: LCTYPE | Source
lOCALE_IMEASURE :: LCTYPE | Source
lOCALE_SMONTHOUSANDSEP :: LCTYPE | Source
lOCALE_INEGCURR :: LCTYPE | Source
lOCALE_SNEGATIVESIGN :: LCTYPE | Source
lOCALE_INEGNUMBER :: LCTYPE | Source
lOCALE_SPOSITIVESIGN :: LCTYPE | Source
lOCALE_SSHORTDATE :: LCTYPE | Source
lOCALE_ITIME :: LCTYPE | Source
lOCALE_STHOUSAND :: LCTYPE | Source
lOCALE_S1159 :: LCTYPE | Source
lOCALE_STIME :: LCTYPE | Source
lOCALE_S2359 :: LCTYPE | Source
lOCALE_STIMEFORMAT :: LCTYPE | Source
lOCALE_SCURRENCY :: LCTYPE | Source
setLocaleInfo :: LCID -> LCTYPE -> String -> IO () | Source
c_SetLocaleInfo :: LCID -> LCTYPE -> LPCTSTR -> IO Bool | Source
type LCMapFlags = DWORD | Source
lCMAP_BYTEREV :: LCMapFlags | Source
lCMAP_FULLWIDTH :: LCMapFlags | Source
lCMAP_HALFWIDTH :: LCMapFlags | Source
lCMAP_HIRAGANA :: LCMapFlags | Source
lCMAP_KATAKANA :: LCMapFlags | Source
lCMAP_LOWERCASE :: LCMapFlags | Source
lCMAP_SORTKEY :: LCMapFlags | Source
lCMAP_UPPERCASE :: LCMapFlags | Source
nORM_IGNORECASE :: LCMapFlags | Source
nORM_IGNORENONSPACE :: LCMapFlags | Source
nORM_IGNOREKANATYPE :: LCMapFlags | Source
nORM_IGNORESYMBOLS :: LCMapFlags | Source
nORM_IGNOREWIDTH :: LCMapFlags | Source
sORT_STRINGSORT :: LCMapFlags | Source
lCMAP_LINGUISTIC_CASING :: LCMapFlags | Source
lCMAP_SIMPLIFIED_CHINESE :: LCMapFlags | Source
lCMAP_TRADITIONAL_CHINESE :: LCMapFlags | Source
lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String | Source
c_LCMapString :: LCID -> LCMapFlags -> LPCTSTR -> Int -> LPCTSTR -> Int -> IO Int | Source
type LocaleTestFlags = DWORD | Source
lCID_INSTALLED :: LocaleTestFlags | Source
lCID_SUPPORTED :: LocaleTestFlags | Source
isValidLocale :: LCID -> LocaleTestFlags -> IO Bool | Source
isValidCodePage :: CodePage -> IO Bool | Source
getUserDefaultLCID :: LCID | Source
getUserDefaultLangID :: LANGID | Source
getThreadLocale :: IO LCID | Source
getSystemDefaultLCID :: LCID | Source
getSystemDefaultLangID :: LANGID | Source
getOEMCP :: CodePage | Source
lANG_NEUTRAL :: PrimaryLANGID | Source
lANG_BULGARIAN :: PrimaryLANGID | Source
lANG_CHINESE :: PrimaryLANGID | Source
lANG_CZECH :: PrimaryLANGID | Source
lANG_DANISH :: PrimaryLANGID | Source
lANG_GERMAN :: PrimaryLANGID | Source
lANG_GREEK :: PrimaryLANGID | Source
lANG_ENGLISH :: PrimaryLANGID | Source
lANG_SPANISH :: PrimaryLANGID | Source
lANG_FINNISH :: PrimaryLANGID | Source
lANG_FRENCH :: PrimaryLANGID | Source
lANG_HUNGARIAN :: PrimaryLANGID | Source
lANG_ICELANDIC :: PrimaryLANGID | Source
lANG_ITALIAN :: PrimaryLANGID | Source
lANG_JAPANESE :: PrimaryLANGID | Source
lANG_KOREAN :: PrimaryLANGID | Source
lANG_DUTCH :: PrimaryLANGID | Source
lANG_NORWEGIAN :: PrimaryLANGID | Source
lANG_POLISH :: PrimaryLANGID | Source
lANG_PORTUGUESE :: PrimaryLANGID | Source
lANG_ROMANIAN :: PrimaryLANGID | Source
lANG_RUSSIAN :: PrimaryLANGID | Source
lANG_CROATIAN :: PrimaryLANGID | Source
lANG_SLOVAK :: PrimaryLANGID | Source
lANG_SWEDISH :: PrimaryLANGID | Source
lANG_TURKISH :: PrimaryLANGID | Source
lANG_SLOVENIAN :: PrimaryLANGID | Source
lANG_ARABIC :: PrimaryLANGID | Source
lANG_CATALAN :: PrimaryLANGID | Source
lANG_HEBREW :: PrimaryLANGID | Source
lANG_SERBIAN :: PrimaryLANGID | Source
lANG_ALBANIAN :: PrimaryLANGID | Source
lANG_THAI :: PrimaryLANGID | Source
lANG_URDU :: PrimaryLANGID | Source
lANG_INDONESIAN :: PrimaryLANGID | Source
lANG_BELARUSIAN :: PrimaryLANGID | Source
lANG_ESTONIAN :: PrimaryLANGID | Source
lANG_LATVIAN :: PrimaryLANGID | Source
lANG_LITHUANIAN :: PrimaryLANGID | Source
lANG_FARSI :: PrimaryLANGID | Source
lANG_VIETNAMESE :: PrimaryLANGID | Source
lANG_ARMENIAN :: PrimaryLANGID | Source
lANG_AZERI :: PrimaryLANGID | Source
lANG_BASQUE :: PrimaryLANGID | Source
lANG_MACEDONIAN :: PrimaryLANGID | Source
lANG_AFRIKAANS :: PrimaryLANGID | Source
lANG_GEORGIAN :: PrimaryLANGID | Source
lANG_FAEROESE :: PrimaryLANGID | Source
lANG_HINDI :: PrimaryLANGID | Source
lANG_MALAY :: PrimaryLANGID | Source
lANG_KAZAK :: PrimaryLANGID | Source
lANG_SWAHILI :: PrimaryLANGID | Source
lANG_UZBEK :: PrimaryLANGID | Source
lANG_TATAR :: PrimaryLANGID | Source
lANG_BENGALI :: PrimaryLANGID | Source
lANG_PUNJABI :: PrimaryLANGID | Source
lANG_GUJARATI :: PrimaryLANGID | Source
lANG_ORIYA :: PrimaryLANGID | Source
lANG_TAMIL :: PrimaryLANGID | Source
lANG_TELUGU :: PrimaryLANGID | Source
lANG_KANNADA :: PrimaryLANGID | Source
lANG_MALAYALAM :: PrimaryLANGID | Source
lANG_ASSAMESE :: PrimaryLANGID | Source
lANG_MARATHI :: PrimaryLANGID | Source
lANG_SANSKRIT :: PrimaryLANGID | Source
lANG_KONKANI :: PrimaryLANGID | Source
lANG_MANIPURI :: PrimaryLANGID | Source
lANG_SINDHI :: PrimaryLANGID | Source
lANG_KASHMIRI :: PrimaryLANGID | Source
lANG_NEPALI :: PrimaryLANGID | Source
sORT_DEFAULT :: SortID | Source
sORT_JAPANESE_XJIS :: SortID | Source
sORT_JAPANESE_UNICODE :: SortID | Source
sORT_CHINESE_BIG5 :: SortID | Source
sORT_CHINESE_UNICODE :: SortID | Source
sORT_KOREAN_KSC :: SortID | Source
sORT_KOREAN_UNICODE :: SortID | Source
sUBLANG_NEUTRAL :: SubLANGID | Source
sUBLANG_DEFAULT :: SubLANGID | Source
sUBLANG_SYS_DEFAULT :: SubLANGID | Source
sUBLANG_CHINESE_TRADITIONAL :: SubLANGID | Source
sUBLANG_CHINESE_SIMPLIFIED :: SubLANGID | Source
sUBLANG_CHINESE_HONGKONG :: SubLANGID | Source
sUBLANG_CHINESE_SINGAPORE :: SubLANGID | Source
sUBLANG_DUTCH :: SubLANGID | Source
sUBLANG_DUTCH_BELGIAN :: SubLANGID | Source
sUBLANG_ENGLISH_US :: SubLANGID | Source
sUBLANG_ENGLISH_UK :: SubLANGID | Source
sUBLANG_ENGLISH_AUS :: SubLANGID | Source
sUBLANG_ENGLISH_CAN :: SubLANGID | Source
sUBLANG_ENGLISH_NZ :: SubLANGID | Source
sUBLANG_ENGLISH_EIRE :: SubLANGID | Source
sUBLANG_FRENCH :: SubLANGID | Source
sUBLANG_FRENCH_BELGIAN :: SubLANGID | Source
sUBLANG_FRENCH_CANADIAN :: SubLANGID | Source
sUBLANG_FRENCH_SWISS :: SubLANGID | Source
sUBLANG_GERMAN :: SubLANGID | Source
sUBLANG_GERMAN_SWISS :: SubLANGID | Source
sUBLANG_GERMAN_AUSTRIAN :: SubLANGID | Source
sUBLANG_ITALIAN :: SubLANGID | Source
sUBLANG_ITALIAN_SWISS :: SubLANGID | Source
sUBLANG_NORWEGIAN_BOKMAL :: SubLANGID | Source
sUBLANG_NORWEGIAN_NYNORSK :: SubLANGID | Source
sUBLANG_PORTUGUESE :: SubLANGID | Source
sUBLANG_PORTUGUESE_BRAZILIAN :: SubLANGID | Source
sUBLANG_SPANISH :: SubLANGID | Source
sUBLANG_SPANISH_MEXICAN :: SubLANGID | Source
sUBLANG_SPANISH_MODERN :: SubLANGID | Source
sUBLANG_ARABIC_SAUDI_ARABIA :: SubLANGID | Source
sUBLANG_ARABIC_IRAQ :: SubLANGID | Source
sUBLANG_ARABIC_EGYPT :: SubLANGID | Source
sUBLANG_ARABIC_LIBYA :: SubLANGID | Source
sUBLANG_ARABIC_ALGERIA :: SubLANGID | Source
sUBLANG_ARABIC_MOROCCO :: SubLANGID | Source
sUBLANG_ARABIC_TUNISIA :: SubLANGID | Source
sUBLANG_ARABIC_OMAN :: SubLANGID | Source
sUBLANG_ARABIC_YEMEN :: SubLANGID | Source
sUBLANG_ARABIC_SYRIA :: SubLANGID | Source
sUBLANG_ARABIC_JORDAN :: SubLANGID | Source
sUBLANG_ARABIC_LEBANON :: SubLANGID | Source
sUBLANG_ARABIC_KUWAIT :: SubLANGID | Source
sUBLANG_ARABIC_UAE :: SubLANGID | Source
sUBLANG_ARABIC_BAHRAIN :: SubLANGID | Source
sUBLANG_ARABIC_QATAR :: SubLANGID | Source
sUBLANG_AZERI_CYRILLIC :: SubLANGID | Source
sUBLANG_AZERI_LATIN :: SubLANGID | Source
sUBLANG_CHINESE_MACAU :: SubLANGID | Source
sUBLANG_ENGLISH_SOUTH_AFRICA :: SubLANGID | Source
sUBLANG_ENGLISH_JAMAICA :: SubLANGID | Source
sUBLANG_ENGLISH_CARIBBEAN :: SubLANGID | Source
sUBLANG_ENGLISH_BELIZE :: SubLANGID | Source
sUBLANG_ENGLISH_TRINIDAD :: SubLANGID | Source
sUBLANG_ENGLISH_PHILIPPINES :: SubLANGID | Source
sUBLANG_ENGLISH_ZIMBABWE :: SubLANGID | Source
sUBLANG_FRENCH_LUXEMBOURG :: SubLANGID | Source
sUBLANG_FRENCH_MONACO :: SubLANGID | Source
sUBLANG_GERMAN_LUXEMBOURG :: SubLANGID | Source
sUBLANG_GERMAN_LIECHTENSTEIN :: SubLANGID | Source
sUBLANG_KASHMIRI_INDIA :: SubLANGID | Source
sUBLANG_KOREAN :: SubLANGID | Source
sUBLANG_LITHUANIAN :: SubLANGID | Source
sUBLANG_MALAY_MALAYSIA :: SubLANGID | Source
sUBLANG_MALAY_BRUNEI_DARUSSALAM :: SubLANGID | Source
sUBLANG_NEPALI_INDIA :: SubLANGID | Source
sUBLANG_SERBIAN_LATIN :: SubLANGID | Source
sUBLANG_SERBIAN_CYRILLIC :: SubLANGID | Source
sUBLANG_SPANISH_GUATEMALA :: SubLANGID | Source
sUBLANG_SPANISH_COSTA_RICA :: SubLANGID | Source
sUBLANG_SPANISH_PANAMA :: SubLANGID | Source
sUBLANG_SPANISH_DOMINICAN_REPUBLIC :: SubLANGID | Source
sUBLANG_SPANISH_VENEZUELA :: SubLANGID | Source
sUBLANG_SPANISH_COLOMBIA :: SubLANGID | Source
sUBLANG_SPANISH_PERU :: SubLANGID | Source
sUBLANG_SPANISH_ARGENTINA :: SubLANGID | Source
sUBLANG_SPANISH_ECUADOR :: SubLANGID | Source
sUBLANG_SPANISH_CHILE :: SubLANGID | Source
sUBLANG_SPANISH_URUGUAY :: SubLANGID | Source
sUBLANG_SPANISH_PARAGUAY :: SubLANGID | Source
sUBLANG_SPANISH_BOLIVIA :: SubLANGID | Source
sUBLANG_SPANISH_EL_SALVADOR :: SubLANGID | Source
sUBLANG_SPANISH_HONDURAS :: SubLANGID | Source
sUBLANG_SPANISH_NICARAGUA :: SubLANGID | Source
sUBLANG_SPANISH_PUERTO_RICO :: SubLANGID | Source
sUBLANG_SWEDISH :: SubLANGID | Source
sUBLANG_SWEDISH_FINLAND :: SubLANGID | Source
sUBLANG_URDU_PAKISTAN :: SubLANGID | Source
sUBLANG_URDU_INDIA :: SubLANGID | Source
sUBLANG_UZBEK_LATIN :: SubLANGID | Source
sUBLANG_UZBEK_CYRILLIC :: SubLANGID | Source
stringToUnicode :: CodePage -> String -> IO String | Source
The `IO` input functions (e.g. `getLine`) don't automatically convert to Unicode, so this function is provided to make the conversion from a multibyte string in the given code page to a proper Unicode string. To get the code page for the console, use getConsoleCP.
multiByteToWideChar :: CodePage -> DWORD -> LPCSTR -> CInt -> LPWSTR -> CInt -> IO CInt | Source
type LCID = DWORD | Source
type LANGID = WORD | Source
type SortID = WORD | Source
type SubLANGID = WORD | Source
type PrimaryLANGID = WORD | Source
mAKELCID :: LANGID -> SortID -> LCID | Source
lANGIDFROMLCID :: LCID -> LANGID | Source
sORTIDFROMLCID :: LCID -> SortID | Source
mAKELANGID :: PrimaryLANGID -> SubLANGID -> LANGID | Source
pRIMARYLANGID :: LANGID -> PrimaryLANGID | Source
sUBLANGID :: LANGID -> SubLANGID | Source
Produced by Haddock version 0.8