Home

Add a comment

 

Avatar: Anonymous

Arabic characters

Page charset is correctly set. But finally I found the problem where it was going wrong. Actually, in .net web service that is called by JS, we have .net object that is converted to XML string through xml serializer. So when object containing some Arabic characters is serialized it was giving wrong output. I was using earlier: Encoding.Default.GetString(memStream.ToArray()); and now converted to Encoding.UTF8.GetString(memStream.ToArray()); which solved the problem. Thanks for your help and quick reply.

Arabic characters


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

Home