Closed
Description
Description
If a file is edited with the built-in editor, the BOM is removed after the commit.
The file is UTF-8-BOM, after the commit it´s UTF-8.
I have reproduced this issue with your demo site, see:
https://try.gitea.io/dsteinbe/editor-bom-issue
Gitea Version
1.21.3
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
2.40.0, Wire Protocol Version 2 Enabled
Operating System
windows
How are you running Gitea?
service
Database
SQLite