You are here: Re: How to upload form data containing special characters correctly? « PHP Programming Language « IT news, forums, messages
Re: How to upload form data containing special characters correctly?

Posted by Wim Cossement on 11/30/56 11:57

Hi again,

I must say I've tried all the suggested options but I still can't do a
proper upload.

There is one textarea where users must put in text about their subject
(more or less 2 formatted pages in a PFD/DOC document), so most (not to
say all) of them cut 'n' paste it from Acrobat/Word/OpenOffce into their
browser.

Most of them contain double quotes that are not escaped by addslashes or
htmlspecialchars , I've copied a few myself: "bla" "bla" "bla"

If I add an entry by hand in phpMyAdmin for instance and one field
contains these characters they are stored and displayed OK.
When I store the resulting page and look at it in vi those quoted bla's
are displayed as â~@~\blaâ~@~]

How do I get rid of those, since Thunderbird wants to convert the
message to UTF-8?

Is there a way to limit or convert the encoding used in a textarea?
Or is this more HTML related?

Regards,

Wimmy

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация