From 462f7fa53e58bf5853bbcf2461ac06b6333566e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 6 Jun 2024 10:01:30 +0200 Subject: [PATCH] docs(admin): Add note about configuring encoding order for text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .../configuration_server/text_configuration.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/admin_manual/configuration_server/text_configuration.rst b/admin_manual/configuration_server/text_configuration.rst index 596c0be4c93..9412ce04492 100644 --- a/admin_manual/configuration_server/text_configuration.rst +++ b/admin_manual/configuration_server/text_configuration.rst @@ -30,3 +30,13 @@ Rich text editing can be turned off globally to always open markdown files in th :: occ config:app:set text rich_editing_enabled --value=0 + + + File encodings + -------------- + + Text can automatically detect encodings of files and will convert them to UTF-8 when saving. Due to the variety of encodings, not all of them can be detected, however you can configure a list of encodings and in which priority they should be detected using the php ``mbstring.detect_order`` setting in your php.ini: + +:: + + mbstring.detect_order = ASCII,JIS,UTF-8,SJIS,EUC-JP