Default encoding of the web-based editor


We use gitlab for latex versioning. We use ANSI encoding on our local machine, and we want some people to edit directly in the gitlab web editor. When we commit from there, the encoding of the edited file is changed to UTF8.

Problem is that I set up CI to build a PDF as artifact and upload automatically to a document database when a branch is merged into master. When the merge occurs after an edit from the gitlab web editor, the generated PDF shows bad accentuated characters due to encoding.

I didn’t find any place where to change the encoding when the editor saves the file and commits it.
What did I miss ?