
tor 2002-08-29 klockan 04.20 skrev Ashley Yakeley:
A SourceForge project for the internationalisation effort is active at http://sourceforge.net/projects/haskell-i18n/
I've added my Unicode character properties code. Check it out (cvs co).
Nice. Who will supply good UTF-8 code? I have some at http://www.dtek.chalmers.se/~d95mback/gettext/ but it is not in good shape. Where should a UTF-8 module be put? Text.UTF8? something like (just drafting here): Text.UTF8.encodeChar :: Char -> [Word8] -- (or Array?) Text.UTF8.encodeString :: String -> [Word8] -- (or Array?) Text.UTF8.decodeChar :: [Word8] -> Either (Char, [Word8]) Error Text.UTF8.decodeString :: [Word8] -> (String, [Word8], [Error]) Another thing, why not use the hierarchy even more, and put the sub-modules of Text.Unicode in Text.Unicode.UnicodeDefs and so on?
Feel free to contribute more useful functionality, such as encodings. Let me know if you want to be added as a developer. I've been making everyone an admin, I don't know if that's a good idea or not...
Trust everyone until they give you a reason not to... Regards, Martin -- Martin Norbäck d95mback@dtek.chalmers.se Kapplandsgatan 40 +46 (0)708 26 33 60 S-414 78 GÖTEBORG http://www.dtek.chalmers.se/~d95mback/ SWEDEN OpenPGP ID: 3FA8580B