Henning Guenther
0e4f3e9d2b
Made DynEncoding an instance of Eq
...
darcs-hash:20080101224724-a4fee-4ff48f9729414a347da55cb95223429baf0587c1
2008-01-01 14:47:24 -08:00
Henning Guenther
82b0a26ec9
Implemented Unit Test Framework
...
darcs-hash:20071231114727-a4fee-7bb01bb4f8b044c8cf29a84cb0f64a392c7f0588
2007-12-31 03:47:27 -08:00
Henning Guenther
d1e1b3f5df
Implemented a strict UTF8 decoder
...
This means mainly not accepting overlong representations and not
allowing invalid bitmasks.
darcs-hash:20071231114623-a4fee-0006712f7f3e5db565b50d38eeb32674e063c49e
2007-12-31 03:46:23 -08:00
Henning Guenther
7daec5bb6b
Fixed UTF8 decoding bug
...
There was an exception if trying to decode a sequence that had to have 4
bytes but had less.
darcs-hash:20071230234632-a4fee-d10fca90840b37952a5d4a4c31a1c8e4900f0f93
2007-12-30 15:46:32 -08:00
Henning Guenther
971927c91f
Made extensions explicit
...
darcs-hash:20071229003551-a4fee-f01193be732b8f3f5085232f922490cd5b48706a
2007-12-28 16:35:51 -08:00
Henning Guenther
7e291fcefe
Convert to new cabal and bytestring interfaces
...
darcs-hash:20071210234921-a4fee-251367abbc4d99d72f425b2d1b69ce2c36f32572
2007-12-10 15:49:21 -08:00
Henning Guenther
5b02009636
Removed dependence on Data.ByteString.Internal
...
darcs-hash:20071105215225-a4fee-c0b55a368ffc296c7c784156f8340cb4586f1444
2007-11-05 13:52:25 -08:00
Henning Guenther
6b82f1bb71
Changed UTF16 to support big/little endian encoding
...
darcs-hash:20071105213105-a4fee-f3d5a91bee421e5e6c2d1d44787a421bb2d07b72
2007-11-05 13:31:05 -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
1e3524e478
Added Template Haskell helper functions
...
darcs-hash:20070823120526-a4fee-4d3fcf18768f5be81a81309d003f991c269ca136
2007-08-23 05:05:26 -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