Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SDL Tridion - Published files are not UTF-8 Encoded

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

like image 415
johnwinter Avatar asked Apr 30 '12 22:04

johnwinter


2 Answers

Did you try these 7 steps to solve encoding issues from Elena?

like image 136
Frank van Puffelen Avatar answered Sep 18 '22 00:09

Frank van Puffelen


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.

like image 43
Nuno Linhares Avatar answered Sep 19 '22 00:09

Nuno Linhares