Reputation: 3624
I've set the publication target within SDL Tridion to push files (aspx) as UTF-8.
The pages are published but i'm still seeing some weird encoding issues when rendered in a browser.
I can edit the files on the server using notepad and save them as UTF-8, which fixes the issue. So I'm a little stuck as to why this is happening, and annoyingly i've seen this before but cannot remember how it was resolved.
I have tried some other options in the publishing target for example 'System Default' but i'm still seeing the same issue.
Thanks
John
Upvotes: 8
Views: 589
Reputation: 6191
If this is a system you've inherited from someone else, check to make sure the code page isn't explicitly set in the templating. This would override the default set on the publication target.
Upvotes: 1
Reputation: 10234
In IIS / .NET I never had problems after setting the Publication Target to UTF-8 and setting this in web.config:
<globalization fileEncoding="UTF-8" requestEncoding="UTF-8"
responseEncoding="UTF-8"/>
If you're using a Windows-Service based deployer you may want to set the JVM encoding to UTF-8, as explained here.
Upvotes: 5
Reputation: 599131
Did you try these 7 steps to solve encoding issues from Elena?
Upvotes: 8