diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000000000000000000000000000000000..d2bd24b926bf4514a13f1c7fbd9c862802bf42f6
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,11 @@
+# Editorconfig
+# see https://EditorConfig.org
+
+root = True
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+[*.{cpp,h,hpp}]
+charset = utf-8