Afficher un message
Vieux 18/09/2007, 04h46   #8
Sanders Kaufman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Stripping MS Word code from my forms once and for all.

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 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
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 you need is with Office and HTML, not PHP.
  Réponse avec citation
 
Page generated in 0,05287 seconds with 9 queries