#1594 Collaborative Repositories missing suburl on Dashboard
This commit is contained in:
@ -77,7 +77,7 @@ func ToUtf8WithErr(content []byte) (error, string) {
|
||||
|
||||
encoding, _ := charset.Lookup(charsetLabel)
|
||||
if encoding == nil {
|
||||
return fmt.Errorf("unknow char decoder %s", charsetLabel), string(content)
|
||||
return fmt.Errorf("unknown char decoder %s", charsetLabel), string(content)
|
||||
}
|
||||
|
||||
result, n, err := transform.String(encoding.NewDecoder(), string(content))
|
||||
|
Reference in New Issue
Block a user