Skip to content

Commit 8671a93

Browse files
authored
Merge pull request #6710 from kjac/v15/feature/convert-file-names-to-ascii
Document the "Convert file names to ASCII" config
2 parents 4c28476 + 8ae4cf4 commit 8671a93

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.github/styles/UmbracoDocs/Acronyms.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,4 @@ exceptions:
8888
- JPEG
8989
- BCC
9090
- SSD
91+
- ASCII

13/umbraco-cms/reference/configuration/requesthandlersettings.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Here is a snippet containing all the default values of the `RequestHandler` sect
1616
"RequestHandler": {
1717
"AddTrailingSlash": true,
1818
"ConvertUrlsToAscii": "try",
19+
"ConvertFileNamesToAscii": "false",
1920
"EnableDefaultCharReplacements": true,
2021
"UserDefinedCharCollection": [
2122
{
@@ -124,12 +125,16 @@ Here is a snippet containing all the default values of the `RequestHandler` sect
124125

125126
This will add a trailing slash to the URL when **`<addTrailingSlash>`** is set to "true". If you don't want to have a trailing slash, set the value to **false**.
126127

127-
### Convert URLs to ascii
128+
### Convert URLs to ASCII
128129

129130
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`.
130131

131132
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.
132133

134+
### Convert file names to ASCII
135+
136+
This setting works the same as "Convert URLs to ASCII" above, but for Media item file names.
137+
133138
### Enable default character replacements
134139

135140
This setting tells Umbraco to use the default character replacements. If you don't want the default character replacements, set this to false.

15/umbraco-cms/reference/configuration/requesthandlersettings.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Here is a snippet containing all the default values of the `RequestHandler` sect
1616
"RequestHandler": {
1717
"AddTrailingSlash": true,
1818
"ConvertUrlsToAscii": "try",
19+
"ConvertFileNamesToAscii": "false",
1920
"EnableDefaultCharReplacements": true,
2021
"UserDefinedCharCollection": [
2122
{
@@ -124,12 +125,16 @@ Here is a snippet containing all the default values of the `RequestHandler` sect
124125

125126
This will add a trailing slash to the URL when **`<addTrailingSlash>`** is set to "true". If you don't want to have a trailing slash, set the value to **false**.
126127

127-
### Convert URLs to ascii
128+
### Convert URLs to ASCII
128129

129130
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`.
130131

131132
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.
132133

134+
### Convert file names to ASCII
135+
136+
This setting works the same as "Convert URLs to ASCII" above, but for Media item file names.
137+
133138
### Enable default character replacements
134139

135140
This setting tells Umbraco to use the default character replacements. If you don't want the default character replacements, set this to false.

0 commit comments

Comments
 (0)