From 6688ec8537df610075d305a61ecb0c75424a754f Mon Sep 17 00:00:00 2001 From: axunonb Date: Mon, 16 Mar 2026 22:43:07 +0100 Subject: [PATCH] Update encoding and line endings for consistency .editorconfig now enforces UTF-8 encoding for all files. .gitattributes sets LF line endings and auto text normalization for C# files --- .editorconfig | 4 ++++ .gitattributes | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index a77e827ff..3581d6803 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,6 +1,10 @@ # Remove the line below if you want to inherit .editorconfig settings from higher directories root = true +[*] +# editors create UTF-8 only +charset = utf-8 + [*.{cs,xml,csproj,sln}] #Core editorconfig formatting - indentation diff --git a/.gitattributes b/.gitattributes index a1ffca9ec..6410ea78d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,7 +9,7 @@ *.msg text *.txt text *.yml text -*.cs text diff=csharp +*.cs text=auto eol=lf diff=csharp *.md text diff=markdown *.editorconfig text *.json text