text-icu
text-icu copied to clipboard
This package provides the Haskell Data.Text.ICU library, for performing complex manipulation of Unicode text.
This is a reprise of - #94 Happens on macOS with [ICU 74](https://github.com/haskell/text-icu/actions/runs/8943327460/job/24567789387#step:9:13): https://github.com/haskell/text-icu/actions/runs/8943327460/job/24567789387#step:12:636 ``` t_blockCode: [Failed] *** Failed! (after 25 tests): Exception: toEnum{BlockCode}: tag (328) is outside of enumeration's...
https://github.com/haskell/text-icu/blob/be8f0e81c8ea69964d381c40db5bc39095a0258e/changelog.md?plain=1#L3 Would be good to mention the name of the new flag here and its purpose.
Not sure if this is the right place for this but when attempting to build `haskell-ide-engine` which relies on `text-icu` as a dependency, it complains about the following: ``` Library...
I'm trying to create a static executable which depends on text-icu. Here is the minified example https://github.com/4e6/text-icu-static-example To enable static linking, I build `icu` with `--enable-static` flag [here](https://github.com/4e6/text-icu-static-example/blob/a1b5fb33fb508855617727375d82864819f42863/default.nix#L8-L16): ``` #...
I'd like to get the size of a grapheme cluster (from a value of type `Text`). Is there a function in the library that can help me with it? If...
``` ghci> import qualified Data.Text.ICU as ICU ghci> let testCompare c a b = (ICU.collate c a b, compare (ICU.sortKey c a) (ICU.sortKey c b)) ``` according to [the docs](https://hackage.haskell.org/package/text-icu-0.8.0.2/docs/Data-Text-ICU.html#v:sortKey),...
``` Data/Text/ICU/Spoof.hsc:433:7: warning: [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in bytestring-0.11.5.0:Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 433 | memcpy dptr bptr (fromIntegral dlen)) | ^^^^^^...
We are using text-icu in Balkón, an inline layout engine intended for a web browser. In order to handle bidirectional text, Balkón needs to be able to run the BiDi...
Lifted from https://github.com/haskell/cabal/pull/8496#issuecomment-1270566590. @gbaz writes: > I note btw that text-icu with its current cabal file will always fail if there is no pkg-config present on the system, or if...
The following warning is issued by `cabal` for any project I (macOS) am building using `text-icu-0.8`, every time: ``` ld: warning: directory not found for option '-L/opt/homebrew/opt/icu4c/lib' ``` It stems...