The utf8-prelude package
This package is obsolete.
If you want your Haskell code to have UTF8 text IO then use libraries which have UTF8 text IO. In case of Prelude with this package only three mechanical steps needed:
In all modules import Prelude explicitly and replace every occurrence of Prelude with UTF8Prelude.
Use the NoImplicitPrelude language extension.
In all modules replace every occurrence of System.IO with System.UTF8IO.
utf8-test tests several functions regarding UTF8 text I/O. Note: utf8-test creates a file named writeFile_test.txt (5,3K) in the current working directory.
utf8-prelude is based on utf8-string: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/utf8-string/index.html
This package will be obsolete *after* GHC 6.10: http://hackage.haskell.org/trac/ghc/wiki/Status/Releases
Properties
| Versions | 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6 |
|---|---|
| Dependencies | base, utf8-string (0.3.2.*) |
| License | BSD3 |
| Copyright | (c) 2008 by Péter Diviánszky |
| Author | Péter Diviánszky <divip@aszt.inf.elte.hu> |
| Maintainer | Péter Diviánszky <divip@aszt.inf.elte.hu> |
| Stability | alpha |
| Category | System |
| Executables | utf8-test |
| Upload date | Mon Nov 10 05:54:38 UTC 2008 |
| Uploaded by | PeterDivianszky |
| Built on | ghc-6.10, ghc-6.12 |
Modules
- System
- UTF8Prelude
Downloads
- utf8-prelude-0.1.5.tar.gz (Cabal source package)
- package description (included in the package)