Anyname Donotcare
Anyname Donotcare

Reputation: 11403

How to fix encoding issue without rewriting the text again?

I face the following problem :

I have an .aspx page when i copy a gridview from page to another ,i encounter the following problem :

i have some arabic words like this :

رقم اذن الإضافة

It has turned to :

رقم اذن الإضافة

My master page meta data :

 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

How to fix this problem

all arabic data have turned to those strange characters and numbers!! just in design time

,However in run time every thing goes okay .

But when i try to edit , i take a lot of time to detect the right control ! How to fix this problem without rewriting all these arabic characters again ?

Upvotes: 0

Views: 1568

Answers (1)

jtheman
jtheman

Reputation: 7491

You would need to use UTF-8 or Windows-1256 encoding for it to show properly, see for example What character encoding should I use for a web page containing mostly Arabic text? Is utf-8 okay?

Upvotes: 2

Related Questions