Updated ICU bindings for Haskell: 0.4.0.0

Posted in haskell, open source
4 comments on “Updated ICU bindings for Haskell: 0.4.0.0
  1. donatas says:

    i got following error trying to build it:

    Data/Text/ICU/Collate/Pure.hs:30:1: lexical error at character ‘i’

  2. Thanks, Donatas. Fixed now.

  3. AndyStewart says:

    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

  4. Ersin Er says:

    It handles the “Turkish Ä° Problem”* correctly. So it should be quite stable.. :-)

    * http://www.i18nguy.com/unicode/turkish-i18n.html

1 Pings/Trackbacks for "Updated ICU bindings for Haskell: 0.4.0.0"
  1. [...] for various Unicode services through text and text-icu packages. Some recent updates to text and text-icu are explained in the author’s [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>