Skip to content
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

Add unicode support #317

Open
Jason2605 opened this issue Nov 7, 2020 · 1 comment
Open

Add unicode support #317

Jason2605 opened this issue Nov 7, 2020 · 1 comment
Labels
feature request Discussion about a new feature

Comments

@Jason2605
Copy link
Member

Add unicode support

Summary

Currently within Dictu all string based activities are done on the number of bytes a string contains, rather than the number of characters, obviously this means some non-ascii characters will be dealt with wrong. We should change this to instead include support for unicode characters within the default strings.

Example

Dictu Version: 0.11.0
>>> "Ā".len();
2
@Jason2605 Jason2605 added the feature request Discussion about a new feature label Nov 7, 2020
@Jason2605
Copy link
Member Author

A potentially promising library: https://github.com/sheredom/utf8.h

@Jason2605 Jason2605 pinned this issue Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Discussion about a new feature
Projects
None yet
Development

No branches or pull requests

1 participant