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

Support all utf8 #7

Open
ojung opened this issue Nov 12, 2020 · 0 comments
Open

Support all utf8 #7

ojung opened this issue Nov 12, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ojung
Copy link
Collaborator

ojung commented Nov 12, 2020

Apparently tome does not work well with 4-byte utf-8 characters:

~/code/tome > echo "🍻"
🍻
~/code/tome > go run . last -t 4byte,utf8,emoji
Using config file: /Users/ojung/.tome.yaml
Stored command: 1605212514;Oskar Jung;4byte:utf8:emoji;echo ""
~/code/tome > echo 𓇀
𓇀
~/code/tome > go run . last -t 4byte,utf8,egyptian
Using config file: /Users/ojung/.tome.yaml
Stored command: 1605212453;Oskar Jung;4byte:utf8:egyptian;echo

3-byte characters however appear to be working:

~/code/tome > echo "ﬣ"
ﬣ
~/code/tome > go run . last -t test,hebrew
Using config file: /Users/ojung/.tome.yaml
Stored command: 1605212319;Oskar Jung;test:hebrew;echo "ﬣ"
@ojung ojung added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant