-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
[Iceberg] commit message is not encoded as UTF8 (again) #13925
Comments
Please reconsider applying the patch I have attached to #10781. |
After the patchEntering a commit message from PharoGit log shows commit message properly(raw bytes)
|
Hi @mumez, It's great you have a patch! Would you please consider making a pull request here? https://github.com/pharo-vcs/iceberg
|
I sent a PR: pharo-vcs/iceberg#1705 |
Bug description
Commit messages is not encoded as UTF8.
It was reported as #10781 and it was supposed to be fixed by #11226. But the bug was still not fixed.
To Reproduce
From the Iceberg commit window, enter some multibyte string and push 'Commit' button
(If you hard to enter multibyte string, plese print it the result of
ZnUTF8Encoder new decodeBytes: (ByteArray readHexFrom: 'e38182e38184e38186'.
This code produces the string 'あいう')`).Check the commit message by opening repository browser. (Or you can git log from the terminal).
You will see the wrongly encoded commit message.
Expected behavior
Commit message is set correctly, You can read the commit log from Iceberg and terminal.
Screenshots
Entering a commit message from Pharo
Git log shows corrupt commit message
Pharo git repository browser also shows corrupt commit message
Version information:
The text was updated successfully, but these errors were encountered: