summaryrefslogtreecommitdiffstats
path: root/modules/validation/helpers_test.go
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2018-09-29 11:33:54 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2018-09-29 16:33:54 +0800
commit81702e6ec9d5bd9d2185a8cb5a021047314baee9 (patch)
treebd0dbdbb7a1d7505809457c72882d00818a50875 /modules/validation/helpers_test.go
parent67806611923eee071513a74671bc00429c3a89fa (diff)
downloadgitea-81702e6ec9d5bd9d2185a8cb5a021047314baee9.tar.gz
gitea-81702e6ec9d5bd9d2185a8cb5a021047314baee9.zip
Detect charset and convert non UTF-8 files for display (#4950)
* Detect charset and convert non UTF-8 files for display * Refactor and move function to correct module * Revert unrelated changes * More unrelated changes * Duplicate content for small text to have better encoding detection * Check if original content is valid before duplicating it
Diffstat (limited to 'modules/validation/helpers_test.go')
0 files changed, 0 insertions, 0 deletions