new user profile settings UI

Signed-off-by: Unknwon <u@gogs.io>
This commit is contained in:
Unknwon 2015-09-06 16:31:22 -04:00
parent 00767a0522
commit 85f34ba538
16 changed files with 148 additions and 121 deletions

View file

@ -76,7 +76,6 @@ func ToUtf8WithErr(content []byte) (error, string) {
}
encoding, _ := charset.Lookup(charsetLabel)
if encoding == nil {
return fmt.Errorf("unknow char decoder %s", charsetLabel), string(content)
}