Home

Add a comment

 

Avatar: Tarak

Arabic characters

Hello, we are using LZString in asp.net application. We have Web service (.asmx) in .net that returns xml string in compressed format using compressToBase64 function and we have html page that call the webservice using Ajax. We get the response and read the string by decompressing using function decompressFromBase64 function in JS. This works fine untill now but we have case where data contains some arabic characters (تستأنف في وقت لاحق )in xml and when that string is decompressed in JS, we don't get the exact characters that are passed from .net web service (we get تستأنف في وقت لاحق). I checked by using compressToUTF16 function but its not working. Can you please help or suggest any solution to work with Arabic (or any other language) characters during compress / decompress of string. Thanks

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