Afficher un message
Vieux 17/09/2007, 14h10   #5
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;92056 Wrote:
>> FFMG wrote:
>>
>>> So how can I strip/replace all the MS Word invalid code from my
>>> $_POSTs?

>> I presume you're referring to all the MS Office XML markup.
>> That's actually good stuff, sometimes.
>>

>
> No, sorry I was actually talking about some non standard characters
> that MS Words inserts.
>
> Some bowser will, (maybe wrongly), not display any invalid characters
> in the textarea itself giving the user the impression that everything
> is fine.
>
> But when I then try to display the comment/entry I get a bunch of
> questions marks for the characters that were invalid.


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.
  Réponse avec citation
 
Page generated in 0,04496 seconds with 9 queries