Re: HTML_QuickForm_Livesearch char coding
| From: | Joshua Eichorn | Date: | Wed, 04 Oct 2006 14:13:22 +0000 |
| Subject: | Re: HTML_QuickForm_Livesearch char coding | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25343@lists.php.net to get a copy of this message | ||
Massimiliano Arione wrote:
Paolo Sala wrote:-joshHi all, I have a problem using HTML_QuickForm_Livesearch. I have installed the livesearch example on a php4 web server apache2 and I have put accented letters in $livesearch array on livesearch.class.php. I've tried to use different codepages on the server and on the client page but the accented letters are ever sent in a wrong way. Have you an idea how to solve the problem?What about html entities? The json class were using in livesearch only supports ascii or utf-8. Just use mbstring etc to make your strings utf-8 before returning them.