index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
/
base
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'modules/base')
-rw-r--r--
modules/base/template.go
1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/base/template.go b/modules/base/template.go
index 7875010d..f86a97b3 100644
--- a/
modules/base/template.go
+++ b/
modules/base/template.go
@@ -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)
}