I have a large number of documents in the media section that use unicode characters e.g. ċ, ġ, ħ and ż. Umbraco lets my users upload these without issue. However, when I try to render a link via razor those characters are being replaced by andNNN where NNN is the numeric code for the character. That is, a filename like this
but this doesn't seem to have had any effect on this issue and right now I'm at a loss as to where the problem is occurring. Is it my code, umbraco config, or maybe an IIS setting?
UTF 8 characters in media file names
Hi,
I have a large number of documents in the media section that use unicode characters e.g. ċ, ġ, ħ and ż. Umbraco lets my users upload these without issue. However, when I try to render a link via razor those characters are being replaced by andNNN where NNN is the numeric code for the character. That is, a filename like this
is rendered as:
Here's the code I'm using to render the link:
I've tried turning off Ascii replacements in URL via umbracoSettings.config
but this doesn't seem to have had any effect on this issue and right now I'm at a loss as to where the problem is occurring. Is it my code, umbraco config, or maybe an IIS setting?
TIA
Ver
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.