Re: Quickform & Foreign Text
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Sat, 20 Nov 2004 03:28:10 +0000 |
| Subject: | Re: Quickform & Foreign Text | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15716@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
> Did you try changing the charset of the page?
Justin
Thanks for answering so quickly!
If you mean changing the meta tag to utf-8, yeah i tried that and no luck.
If that's not what you mean then i still don't understand.
when i tried:
html_entity_decode("& #15506;", ENT_QUOTES, "UTF-8");
I got this error:
Warning: cannot yet handle MBCS in html_entity_decode()!
> If all else fails, you could write some JS which converts the & in
> the textarea back into & after the user gets the page.... or you could
> get the HTML of the form and convert it before displaying it...
I think this method would have to be last resort, but still an option.
Eric