Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Ajax Programming

Encoding problem !


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.

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:

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.

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc