0

I really need help for this because when I write my code in source view, I have no problem but when I view it in design view it shows square instead of farsi characters. how can I solve this problem?

1 Answers1

1

There is no problem here:

  • make sure you have saved the final file with utf-8 with signature (file menu-> advanced save options)
  • add <meta charset="utf-8" /> to the head of the html page or your master page.
  • also you need these meta tags too: <meta http-equiv="Content-Language" content="fa" /> and <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
VahidN
  • 18,457
  • 8
  • 73
  • 117