zeripath f6eedd4dc8 UI: Detect and restore encoding and BOM in content (#6727)
* detect and remove a decoded BOM

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Restore the previous encoding and BOM

* On error keep as UTF-8

Signed-off-by: Andrew Thornton <art27@cantab.net>

* create remove BOM function

* Deal with LFSed content

* Update modules/repofiles/update.go

* Fix final LFS bug

* Keep LFS sections referring to opts.Content
2019-04-26 15:00:30 +03:00
..
2019-04-02 08:48:31 +01:00
2018-01-31 00:09:16 +02:00
2019-04-02 08:48:31 +01:00
2018-11-04 22:20:00 -05:00
2019-04-02 08:48:31 +01:00
2017-11-13 22:51:45 +08:00
2018-03-16 22:04:33 +08:00
2019-03-08 11:42:50 -05:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00