You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a commit Iceberg asked for name and email.After writing my name "David Sánchez Gregori" I get an error reading UTF-8, in the debug I saw that a Stream contain the name but in latin1 instead than in UTF-8.
I changed IceLibgitRepository#commitFromGitRepository to:
"protocol: #'private-commits'"commitFromGitCommit: aLGitCommit
^self commitCache at: aLGitCommit id hexString ifAbsentPut: [
IceGitCommitnewid: aLGitCommit id hexString;
author: aLGitCommit author name asByteArray asString ;
datetime: aLGitCommit time asDateAndTime;
ancestorIds: (aLGitCommit parents collect: [ :parent | parent id hexString ]);
comment: aLGitCommit message;
repository:self;
yourself ]
The change is in "author: aLGitCommit author name asByteArray asString ;".
After this change it worked for me but I'm not sure if it will work for UTF-8 saved streams.
Perhaps decoding UTF-8 and in case of error defaultin to "asString" ?
Perhaps it should ensure when the user name and email are stored that they're stored as UTF-8 streams and not in other encodings ?
The text was updated successfully, but these errors were encountered:
When doing a commit Iceberg asked for name and email.After writing my name "David Sánchez Gregori" I get an error reading UTF-8, in the debug I saw that a Stream contain the name but in latin1 instead than in UTF-8.
I changed IceLibgitRepository#commitFromGitRepository to:
The change is in "author: aLGitCommit author name asByteArray asString ;".
After this change it worked for me but I'm not sure if it will work for UTF-8 saved streams.
Perhaps decoding UTF-8 and in case of error defaultin to "asString" ?
Perhaps it should ensure when the user name and email are stored that they're stored as UTF-8 streams and not in other encodings ?
The text was updated successfully, but these errors were encountered: