snimavat / html-cleaner

Html cleaner - Whitelist based html sanitizer grails plugin
3 stars 2 forks source link

Jsoup.clean #7

Open ziyaaskerov opened 10 years ago

ziyaaskerov commented 10 years ago

I use Html Cleaner plugin to escape unwanted html tags.I have a problem with encoding.For example given parameter is name and its value is="Üöşçıəşüğə" but String name = htmlCleaner.cleanHtml(params.name,'none'); returns me "üöşçıəşüğə" after htmlCleaner.cleanHtml() method How could i configure it for UTF-8 ??

snimavat commented 10 years ago

@ziyaaskerov - can you look at jsop and see how it handles utf-8 ? If it needs some special config, we have to update html cleaner.