Welcome! » Log In » Create A New Profile

About utf8 charset validation

Posted by Dmitri 
Dmitri
About utf8 charset validation
December 22, 2009 09:47PM

Question about utf8 Does the purifier validate that string contains only the valid utf-8 chars? I know that this type of validation may be time consuming.

I already have written my own utf-8 sanitizor class that validates and recodes the utf-8 string if necessary, so I am 100% confident that my string is 100% utf-8

Is there a way for me to tell the purifier to skip its' charset validation and only do the html tags related work?

So basically I have already done the charset validation/sanitization, and I only need to remove dangerous html tags and maybe fix the bad html.

Re: About utf8 charset validation
December 22, 2009 09:53PM

I think you'd probably have to patch out the calls to our encoder, in that case, unfortunately.

Sorry, you do not have permission to post/reply in this forum.