Reply to Re: Stripping MS Word code from my forms once and for all.

Your name:

Reply:


Posted by Sanders Kaufman on 09/18/07 02:46

FFMG wrote:
> Sanders Kaufman;92237 Wrote:

>> Ah, so. You're having a character set problem.
>> Rather than have a big old off-topic thread about it here, you should
>> probably take the question to an Office or HTML group.
>> PHP won't help you much.
>
> No I am not, read the question again, carefully this time.
> Textareas of most browsers will, (wrongly), accept MS Word pasted
> code.

There is nothing in the HTML specification requiring HTML to reject MS
Word, Open Office, or any other format. That would be a bug, not a feature.


> By the time it gets to my server I have to clean it up.
> My PHP code must handle it.
>
> Is that on topic enough for you?

No, and it won't likely be topic(al) enough for most of the other folks
here in the PHP group, either.

While you are indeed trying to process the data through PHP, you appear
to be perfectly capable of programming in PHP, and thus need very little
help with PHP.

Instead, you need to identify the correct character set to use in
interpreting the Office document, and to apply that character set to the
data retrieved through the HTML FORM element.

That means that the help you need is with Office and HTML, not PHP.

[Back to original 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

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