New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server-side unicode support (normalization, removing accents) #3174

Open
DartBot opened this Issue May 22, 2012 · 5 comments

Comments

Projects
None yet
8 participants
@DartBot
Copy link

DartBot commented May 22, 2012

This issue was originally filed by istvan...@gmail.com


In Java, I can easily remove accents from strings like this:
 Normalizer.normalize(text, Form.NFD).replaceAll("\p{InCombiningDiacriticalMarks}+", "")

My primary use case is to generate URL form user-supplied content (e.g. title).

It would be nice if we could use similar feature in Dart on the server-side. Client-side unicode support in the javascript world might be too large.

@peter-ahe-google

This comment has been minimized.

Copy link
Contributor

peter-ahe-google commented May 22, 2012

Added Area-Library, Triaged labels.

@lrhn

This comment has been minimized.

Copy link
Member

lrhn commented Aug 19, 2013

Removed Type-Defect label.
Added Type-Enhancement label.

@sgjesse

This comment has been minimized.

Copy link
Member

sgjesse commented Jan 2, 2014

Issue #7611 has been merged into this issue.

@natebosch

This comment has been minimized.

Copy link
Member

natebosch commented Oct 30, 2018

Is this covered by dart-lang/language#49 ?

@yshrsmz

This comment has been minimized.

Copy link

yshrsmz commented Dec 10, 2018

JFYI, I have released unorm_dart which might resolve some of the issue described here. Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment