1

I'm trying to write special characters in Page Metadata, in title and description. There are String Text in their schema.

When I write "&" and I preview de page, this symbol changes and I see "&". If I try write "&", when I preview, this symbol changes and I see "&". Anybody can help me?

In the other hand, the editor is trying to write some symbols like checks or arrows in this fields. When I preview, this symbols show correctly, but when I publish the page, this symbols change and show in the source page something like this "enter image description here"

We are using:

  • SDL Tridion 2013 SP1 HR1
  • Target publication are configurated as UTF-8
  • Tomcat also are configurated as UTF-8
  • And if you use these characters in Rich Text, they show fine? Could be in how the fields are handled in TOM.NET (StringTextField vs XhtmlTextField) – Nuno Linhares Jun 25 '18 at 13:52
4

Actually, this is related to output type of your template. By default, if your template output is Text/HTML, then by default, all of special characters will get HTML encoded so that they don't break HTML layout. Same is with following signs: < > & copyright sign etc....

If I am not mistaken this is done by Default finish actions compound template. What you can try to do, is remove some of the blocks related to tidying HTML, or write placeholder for these signs, and later rewriting them after Default Finish actions.

| improve this answer | |
  • Ok, thank you, we are going to try to control it in DFA. – Sergio G Jun 26 '18 at 11:36
  • What ever approach we try Title and description in HTML supports simple texts only, not special characters. – Rajesh G Jul 20 '18 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.