0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 23:02:46 +01: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 Sort repository tree entries in natural way (#2506) 2017-09-19 11:37:03 +03:00
natural_sort.go Sort repository tree entries in natural way (#2506) 2017-09-19 11:37:03 +03:00
tool_test.go Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
tool.go Detect charset and convert non UTF-8 files for display (#4950) 2018-09-29 16:33:54 +08:00