Gitlab API REST encoding of non-ASCII characters wrong.
Created by: nudgegoonies
In the Gitlab 6.3.0 the non-ASCII characters are correctly rendered by the REST Api. In Version 6.5.1 they are not.
This is the output of the branches? function of Version 6.3.0:
{"name":"changes_for_eclipse","commit":{"id":"XYZ","parents":[{"id":"XYZ"}],"tree":"XYZ","message":"\"Unn\u00f6tiger\" cast hinzugef\u00fcgt der f\u00fcr den ...","author":{"name":"XYZ","email":"XYZ"},"committer":{"name":"XYZ","email":"XYZ"},"authored_date":"2013-10-25T10:31:53+02:00","committed_date":"2013-10-25T10:31:53+02:00"},"protected":false}
This is the output of Version 6.5.1:
{"name":"changes_for_eclipse","commit":{"id":"XYZ","parents":[{"id":"XYZ"}],"tree":"XYZ","message":"\"Unnötiger\" cast hinzugefügt der für den ...","author":{"name":"XYZ","email":"XYZ"},"committer":{"name":"XYZ","email":"XYZ"},"authored_date":"2013-10-25T10:31:53+02:00","committed_date":"2013-10-25T10:31:53+02:00"},"protected":false},
My environment is:
System: Debian 7.1
Current User: git
Using RVM: no
Ruby Version: 1.9.3p194
Gem Version: 1.8.23
Bundler Version:1.1.4
Rake Version: 10.1.0
GitLab information
Version: 6.5.1
Revision: 9c8f584
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.8.0
Git: /usr/bin/git
Regards, Andreas