|
Posted by comp.lang.php on 03/22/06 17:12
fiziwig wrote:
> Perhaps limit them to pasting in text that contains only some set of
> printable characters. a..z, A..Z, 0..9, and the standard punctuation
> and math symbols ,.:;'"+-=><&^%... etc. If any character is found that
> is not in the set then reject the text. Presumably those Word docs have
> some binary info in them, or at least it looks like they contained a
> lot of characters not in the standard set. Of course you'd have to take
> other languages into account if you planned to allowing posting in
> other than English.
>
> --gary
Exactly, and that will make that kind of check nearly impossible to
perform. Besides, you have to remember that their resume already
exists as ASCII (just screwed-up ASCII) because it will display FROM
the database table text field query. That is, when you get the resume,
it's already in ASCII, so there are no non-ASCII characters to find
anymore, just a bunch of funky, screwed-up, yet 100% ASCII characters.
Those already-submitted resumes are the problem we're dealing with,
preventing others from doing so is only half the battle.
Phil
[Back to original message]
|