> Hi, I done web site using Ajax, PHP & MySQL but I have encoding problem
> in inputs, I used escape() function in javascript to escape special
> characters and works with Latin characters but not with others, and when I
> remove escape() function it's works but I need to escape the special
> characters.
> Best Regards.
Works fine, Thank you.
Do you know how to convert string encode from UTF-8 to CP1256(windows-1256).
I tried to use mb_convert_encoding() function in PHP, but it doesn't support
CP1256, is there any solution in JS?
Regards.
_____
From: ajax-world@googlegroups.com [mailto:ajax-world@googlegroups.com] On
Behalf Of Eric Pascarello
Sent: Friday, November 10, 2006 5:25 PM
To: ajax-world@googlegroups.com
Subject: [AJAX World] Re: Encoding problem !
You look at encodeURI http://xkr.us/articles/javascript/encode-compare/ and
see if that helps.
Eric
On 11/10/06, Fahad Alshaya <fahadabdula@gmail.com> wrote:
Hi, I done web site using Ajax, PHP & MySQL but I have encoding problem in
inputs, I used escape() function in javascript to escape special characters
and works with Latin characters but not with others, and when I remove
escape() function it's works but I need to escape the special characters.
Best Regards.