i18n
i18n copied to clipboard
Support Unicode Normalization
Surprisingly, Dart/Flutter does not support Unicode normalization default. So please support Unicode normalization.
thanks.
Good idea - one would have to wrap https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize and https://unicode-org.github.io/icu4x/rustdoc/icu_normalizer/index.html to a common denominator.
@mosuem Just wanted to drop a quick note to say that I was in the process of developing a library that is attempting to implement RFC 3987 Internationalized Resource Identifiers (IRIs) and have a real need for Unicode normalization if you were looking for concrete use cases.
Also there is technically a Dart package that ports a JS implementation of Unicode normalization but I don't think it is maintained as it hasn't been updated in years, doesn't have a particularly compelling test suite and supports a very old version of Unicode.
It does however have a number of people who depend on it here: https://pub.dev/packages?q=dependency%3Aunorm_dart which is further evidence that Unicode normalization would be a really welcome addition to a package supported by the Dart team/
Thanks for the context. I can definitely review a PR on this, or try myself to get the ICU4X/ECMA mix working as described above. I am kind of swamped at the moment though, so the latter would take a while.
FYI @robertbastian