Take the 2-minute tour ×
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

I would like to assign the UTF-8 as My page encoding for Arabic Language using the below code

<%@page pageEncoding="UTF-8" %>

But I got error message

share|improve this question
Please clarify your question and add the code also. elenaserghie.blogspot.in/2012/01/… link can help you also –  Raj Kumar Feb 25 at 11:14
What's that error message? –  Siva Charan Feb 25 at 11:40
add comment

1 Answer

up vote 6 down vote accepted

Because the @ character is special in Razor, to output a literal @ you need to double it. So instead of

<%@page pageEncoding="UTF-8" %>

you must say:

<%@@page pageEncoding="UTF-8" %>
share|improve this answer
Thanks Its Working –  Abdulla Kalifullah Feb 27 at 8:15
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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