I have csv file with special characters, stored in default
encoding(ISO-8859-1). I am convert file contents(string) to UTF-8using iconv.
This doesn't convert special characters properly, shows broken on fronted. Page
encoding & meta tag are properly set to utf-8.
Characters are shown properly
ectly. Of course you would
after
that need to decode the variables with base64_decode in your PHP script
DS!
-Original Message-
From: mbneto [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 2:57 AM
To: php-general@lists.php.net
Subject: [PHP] Problems with UTF
Hi,
I have a php base
ou call via AJAX?
-Original Message-
From: mbneto [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 2:57 AM
To: php-general@lists.php.net
Subject: [PHP] Problems with UTF
Hi,
I have a php based script that is called from a html page via ajax.
Everything runs fine except when I use
4 encoding to make sure the arrive correctly. Of course you would after
that need to decode the variables with base64_decode in your PHP script DS!
-Original Message-
From: mbneto [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 2:57 AM
To: php-general@lists.php.net
Subject: [PHP
On Mon, 28 Aug 2006 15:57:17 -0400
mbneto <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a php based script that is called from a html page via ajax.
> Everything runs fine except when I use characters such as á that ends up
> like A!
A browser will display text according the the charset specified
Hi,
I have a php based script that is called from a html page via ajax.
Everything runs fine except when I use characters such as á that ends up
like A!
After searching and testing I found that if I remove the
encodeURIComponentfrom the javascript and replace with
escape everything works fine.
6 matches
Mail list logo