4 comments on “Updated ICU bindings for Haskell: 0.4.0.0”
1 Pings/Trackbacks for "Updated ICU bindings for Haskell: 0.4.0.0"
-
[…] for various Unicode services through text and text-icu packages. Some recent updates to text and text-icu are explained in the author’s […]
i got following error trying to build it:
Data/Text/ICU/Collate/Pure.hs:30:1: lexical error at character ‘i’
Thanks, Donatas. Fixed now.
I think you should add text >= 0.8.0 in build-depends.
Otherwise, you will got below error :
…
[11 of 14] Compiling Data.Text.ICU.Break ( dist/build/Data/Text/ICU/Break.hs, dist/build/Data/Text/ICU/Break.o )
Data/Text/ICU/Break.hsc:46:26:
Module `Data.Text.Foreign’ does not export `dropWord16′
Data/Text/ICU/Break.hsc:46:38:
Module `Data.Text.Foreign’ does not export `takeWord16′
cabal: Error: some packages failed to install:
text-icu-0.4.0.1 failed during the building phase. The exception was:
ExitFailure 1
BTW, can you add module to binding “Charset Detection” (http://userguide.icu-project.org/conversion/detection) in icu?
I need “automatic detect encoding” module to get the encode information from unknown string, then i can use it in my file-manager.
Thanks!
— Andy
It handles the “Turkish Ä° Problem”* correctly. So it should be quite stable.. 🙂
* http://www.i18nguy.com/unicode/turkish-i18n.html