summaryrefslogtreecommitdiff
path: root/libraries/base/codepages/MakeTable.hs
Commit message (Collapse)AuthorAgeFilesLines
* add NoImplicitPrelude (fix Windows build failure)Simon Marlow2011-01-311-1/+1
|
* Use explicit language extensions & remove extension fields from base.cabalsimonpj@microsoft.com2011-01-281-1/+1
| | | | | | | | | | Add explicit {-# LANGUAGE xxx #-} pragmas to each module, that say what extensions that module uses. This makes it clearer where different extensions are used in the (large, variagated) base package. Now base.cabal doesn't need any extensions field Thanks to Bas van Dijk for doing all the work.
* Add some comments to the generated Table.hsIan Lynagh2010-11-131-2/+4
|
* Add a Makefile for MakeTable, and remove GHC.Num generated importIan Lynagh2010-10-311-3/+14
|
* Fix whitespace in codepages/MakeTable.hsIan Lynagh2010-10-311-9/+9
|
* On Windows, use the console code page for text file encoding/decoding.Judah Jacobson2009-09-131-0/+252
We keep all of the code page tables in the module GHC.IO.Encoding.CodePage.Table. That file was generated automatically by running codepages/MakeTable.hs; more details are in the comments at the start of that script. Storing the lookup tables adds about 40KB to each statically linked executable; this only increases the size of a "hello world" program by about 7%. Currently we do not support double-byte encodings (Chinese/Japanese/Korean), since including those codepages would increase the table size to 400KB. It will be straightforward to implement them once the work on library DLLs is finished.