mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-22 19:51:35 +00:00
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>
6.5 KiB
6.5 KiB