Commit Graph

18 Commits

Author SHA1 Message Date
Henning Guenther
3b3f042529 Fix case and indentation
darcs-hash:20090225073306-a4fee-a93aac7f0d47124c91a6b0a4899e9a96649d009d
2009-02-24 23:33:06 -08:00
Henning Guenther
c2899caa35 Added ISO 2022-JP string to names list
darcs-hash:20090225073143-a4fee-ec84c9ab6d5baa030e204df92bc5f4450011f9f9
2009-02-24 23:31:43 -08:00
Henning Guenther
1543e75f50 Added Eq instance for DynEncoding
This envolves adding the requirement, that every Encoding must also be an instance of Eq and Typeable to go into DynEncoding.

darcs-hash:20090225035150-a4fee-c7d902e28313929ee9ffe0c6a6b60d8ff4704ae9
2009-02-24 19:51:50 -08:00
Henning Guenther
b95bfe9be4 JIS X 0208 encoding
darcs-hash:20090223182459-a4fee-98ced8f8b7bac594dc6510eeecb6bea8c51a6090
2009-02-23 10:24:59 -08:00
Henning Guenther
9344038d33 JIS X 0201 encoding
darcs-hash:20090222182246-a4fee-903520e4098e6809877fc55568207f40ebd6fda9
2009-02-22 10:22:46 -08:00
Henning Guenther
d83074fa18 MacOS Roman encoding
darcs-hash:20090222035756-a4fee-d2fef7a2c3317fbe9f25ab80bb6e156ceb0abf8a
2009-02-21 19:57:56 -08:00
Henning Guenther
eeee054f1e Rewrite to support more sources and changing the encoding dynamically
Now it's possible to change the character encoding while de-/encoding.
Also, it's possible to use any data structure as a source or target of the de-/encoding process.

darcs-hash:20090221203100-a4fee-6da31f2e37c30a3f5cd5f10af71984209488bb0b
2009-02-21 12:31:00 -08:00
gaetan.lehmann
5eed326c08 Add the support for a large number of encoding name aliases. The aliases are the ones used in python, and are normalized as in python: they are case and separator insensitive.
darcs-hash:20080514130514-2fc9d-1b53b11141878a8651f3bde7e427c877172e6722
2008-05-14 06:05:14 -07:00
Henning Guenther
d5f4d60698 Made HPC analysis possible
HPC doesn't like TemplateHaskell yet, so we have to comment things that require TemplateHaskell out using a preprocessor.

darcs-hash:20080203132156-a4fee-6587e14d7c57e0dfbc9f50746502e6b0a68b6632
2008-02-03 05:21:56 -08:00
Henning Guenther
6c5011aaa3 Added KOI8U encoding
darcs-hash:20080120213322-a4fee-752cc3f3ec4e7a01e5bbf93bad08a88ca3cb3a5b
2008-01-20 13:33:22 -08:00
Henning Guenther
38afec5701 Added encodingFromStringMaybe function
darcs-hash:20080102150536-a4fee-163b2ff3d1e752be70ea8b2656e5346cacbf5d67
2008-01-02 07:05:36 -08:00
Henning Guenther
0e4f3e9d2b Made DynEncoding an instance of Eq
darcs-hash:20080101224724-a4fee-4ff48f9729414a347da55cb95223429baf0587c1
2008-01-01 14:47:24 -08:00
Henning Guenther
971927c91f Made extensions explicit
darcs-hash:20071229003551-a4fee-f01193be732b8f3f5085232f922490cd5b48706a
2007-12-28 16:35:51 -08:00
Henning Guenther
cb81698b7e Derived all encodings from Show
This way, we can declare DynEncoding an instance of Show

darcs-hash:20070827020833-a4fee-a84635bf911573022b780c17b2085ff814302b3e
2007-08-26 19:08:33 -07:00
Henning Guenther
ece4c7e788 Added recode helper functions
darcs-hash:20070827015125-a4fee-4be7dd71426674c5896aa309aa7c2e502a08a362
2007-08-26 18:51:25 -07:00
Henning Guenther
dc47984bf6 Implemented GB18030 encoding
This is a bit of a hack, because the static lookup data this encoding requires brings template haskell to it's knees. So I've got a program that generates a haskell module file from the XML mapping.

darcs-hash:20070823034759-a4fee-883359c8951d4376fc2d783cd7be352d6c5b2111
2007-08-22 20:47:59 -07:00
Henning Guenther
96738efeeb Documentation for a few encodings
darcs-hash:20070802095455-a4fee-8761245eb32db2cc33a80d981eaebab10c2af6a3
2007-08-02 02:54:55 -07:00
Henning Guenther
496761301f Initial commit
darcs-hash:20070802003505-a4fee-97432a586ed2453061ef246d1e7a81fec35d1bac
2007-08-01 17:35:05 -07:00