-
Notifications
You must be signed in to change notification settings - Fork 399
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
ufmt doesn't display the unicode emojis correctly #1814
Comments
Hey @MalekLahbib, have you managed to open a new PR for this since we talked on #1811? |
If you don't plan to open a PR for this issue, may I handle this if you don't mind? |
Hey @notJoon, sorry for the delay of the response, I had some issues on my PC and with git (still a newbee 😆 ), I made this PR 1889, you can take a look and tell me what you think of it. |
this issue is supposed to be solved with this PR 1889 |
Hey, just a heads up - you always should wait for a PR to be merged before closing an issue. Since you've closed the issue before merging the fix, people might thing that the issue has been fixed while if fact it was not. P.S. you can actually link PRs and issues so if you merge a PR the issue automatically gets closed :) |
Description
I tried to use unicode emojis with ufmt but each time I have athis character: â
here's my code:
and here's what's displayed :
I tried with other unicode emojis and had the same result.
I discussed this with @moul and he explained to me that the problem is the way ufmt.Sprintf works and challenged me to correct the function so that it works with unicode: Challenge accepted!!
PS: give me some time, I'm not that genius 😃
The text was updated successfully, but these errors were encountered: