From 41c161ab1d194cb7aec05de56864b8dde1646f35 Mon Sep 17 00:00:00 2001 From: kjac Date: Thu, 28 Nov 2024 12:53:44 +0100 Subject: [PATCH 1/2] Document the "Convert file names to ASCII" config --- .../reference/configuration/requesthandlersettings.md | 7 ++++++- .../reference/configuration/requesthandlersettings.md | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/13/umbraco-cms/reference/configuration/requesthandlersettings.md b/13/umbraco-cms/reference/configuration/requesthandlersettings.md index 33677331f38..c687f5f5ee5 100644 --- a/13/umbraco-cms/reference/configuration/requesthandlersettings.md +++ b/13/umbraco-cms/reference/configuration/requesthandlersettings.md @@ -16,6 +16,7 @@ Here is a snippet containing all the default values of the `RequestHandler` sect "RequestHandler": { "AddTrailingSlash": true, "ConvertUrlsToAscii": "try", + "ConvertFileNamesToAscii": "false", "EnableDefaultCharReplacements": true, "UserDefinedCharCollection": [ { @@ -124,12 +125,16 @@ Here is a snippet containing all the default values of the `RequestHandler` sect This will add a trailing slash to the URL when **``** is set to "true". If you don't want to have a trailing slash, set the value to **false**. -### Convert URLs to ascii +### Convert URLs to ASCII This setting tells Umbraco to convert all URLs to ASCII: American Standard Code for Information Interchange, if set to false the URLs will remain `UTF-8`. This setting can be set to **try** This will make the engine try to convert the name to an ASCII implementation. If it fails, it will fallback to the name. Reason is that some languages don't have ASCII implementations, therefore the URLs would end up being empty. +### Convert file names to ASCII + +This setting works the same as "Convert URLs to ASCII" above, but for Media item file names. + ### Enable default character replacements This setting tells Umbraco to use the default character replacements. If you don't want the default character replacements, set this to false. diff --git a/15/umbraco-cms/reference/configuration/requesthandlersettings.md b/15/umbraco-cms/reference/configuration/requesthandlersettings.md index 33677331f38..c687f5f5ee5 100644 --- a/15/umbraco-cms/reference/configuration/requesthandlersettings.md +++ b/15/umbraco-cms/reference/configuration/requesthandlersettings.md @@ -16,6 +16,7 @@ Here is a snippet containing all the default values of the `RequestHandler` sect "RequestHandler": { "AddTrailingSlash": true, "ConvertUrlsToAscii": "try", + "ConvertFileNamesToAscii": "false", "EnableDefaultCharReplacements": true, "UserDefinedCharCollection": [ { @@ -124,12 +125,16 @@ Here is a snippet containing all the default values of the `RequestHandler` sect This will add a trailing slash to the URL when **``** is set to "true". If you don't want to have a trailing slash, set the value to **false**. -### Convert URLs to ascii +### Convert URLs to ASCII This setting tells Umbraco to convert all URLs to ASCII: American Standard Code for Information Interchange, if set to false the URLs will remain `UTF-8`. This setting can be set to **try** This will make the engine try to convert the name to an ASCII implementation. If it fails, it will fallback to the name. Reason is that some languages don't have ASCII implementations, therefore the URLs would end up being empty. +### Convert file names to ASCII + +This setting works the same as "Convert URLs to ASCII" above, but for Media item file names. + ### Enable default character replacements This setting tells Umbraco to use the default character replacements. If you don't want the default character replacements, set this to false. From 8ae4cf479ad97df7f34cfa049146652d0d997d94 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Tue, 10 Dec 2024 20:01:49 +0100 Subject: [PATCH 2/2] Adding ASCII to accepted acronyms --- .github/styles/UmbracoDocs/Acronyms.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/styles/UmbracoDocs/Acronyms.yml b/.github/styles/UmbracoDocs/Acronyms.yml index 62a6b0a7af9..7e9ad65606b 100644 --- a/.github/styles/UmbracoDocs/Acronyms.yml +++ b/.github/styles/UmbracoDocs/Acronyms.yml @@ -88,3 +88,4 @@ exceptions: - JPEG - BCC - SSD + - ASCII