1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 01:54:26 +00:00
gitea/modules/base
zeripath 21fb791747 Detect encoding and BOM in content (#6727) (#6765)
Detect and remove a decoded BOM when showing content.
Restore the previous encoding and BOM when updating content.
On error keep as UTF-8 encoding.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2019-04-27 19:36:12 -04:00
..
base.go golint fixed for modules/base 2016-11-24 15:17:44 +08:00
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 Use type switch (#5122) 2018-10-19 14:54:26 -04:00
tool.go Detect encoding and BOM in content (#6727) (#6765) 2019-04-27 19:36:12 -04:00