1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-30 15:21:32 +02:00
gitea/modules/base
Lauris BH 81702e6ec9 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
2018-09-29 16:33:54 +08:00
..
base.go
natural_sort_test.go
natural_sort.go
tool_test.go
tool.go