Re: Quickform & Foreign Text
| From: | Justin Patrin | Date: | Sat, 20 Nov 2004 03:16:48 +0000 |
| Subject: | Re: Quickform & Foreign Text | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15715@lists.php.net to get a copy of this message | ||
On 20 Nov 2004 02:04:54 -0000, PHPDiscuss - PHP Newsgroups and mailing
lists <ericbusch@yahoo.com> wrote:
> Alexey Borzov wrote:
>
> ..or
> 2) Create a custom version of textarea that won't encode characters
>
> I have searched for a day on how to do this but with no luck. Can you
> point me in the right direction? I can't find any documentation on how to
> create a custom textarea besides createElement and I don't think that is
> what you mean.
>
> Any help you can give is totally appreciated! My project has been stalled
> for 2 weeks because of this foreign text problem and I really want to use
> Quickform for this. It makes life so much easier!
>
Did you try changing the charset of the page?
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...
--
Justin Patrin