Skip to content

Add concise explanation of the difference between String, Runes and Characters #376

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

Closed
filiph opened this issue Mar 5, 2020 · 2 comments
Labels
package:characters type-documentation A request to add or improve documentation

Comments

@filiph
Copy link

filiph commented Mar 5, 2020

This might belong to https://github.com/flutter/website, but (imho) not before package:characters lands with a stable API (1.0.0+).

Maybe something like:

List<int> String Runes Characters
Also known as bytes code units code points grapheme clusters
Level lowest (data) low (default Dart) ??? highest
Usage sending keys, computer-readable names, ... ??? human text
Example stdin .listen(...) json["id"] == "deadbeef" ??? input.characters .replaceAll(...)

But of course, much better than this.

Related:

@mit-mit
Copy link
Member

mit-mit commented May 26, 2020

1.0 is in progress in dart-archive/characters#18 :-)

But I still like the idea of providing this overview here in this package's README. WDYT @lrhn ?

@mit-mit mit-mit added the type-documentation A request to add or improve documentation label May 26, 2020
@lrhn
Copy link
Member

lrhn commented May 27, 2020

Lets do something: dart-archive/characters#19

@lrhn lrhn closed this as completed Sep 4, 2020
mit-mit referenced this issue in mit-mit/characters Jul 26, 2021
Support specifying architecture
@mosuem mosuem transferred this issue from dart-archive/characters Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:characters type-documentation A request to add or improve documentation
Projects
None yet
Development

No branches or pull requests

4 participants