3

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

5

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" %>
| improve this answer | |

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.