transform some Unicode stings to normal string

* fix bug with error code when cannot open interface to the repository