snytkine / LampCMS

Open source Question and Answer program similar to StackOverflow and Quora in PHP + MongoDB. Follow @snytkine on Twitter

Home Page:http://support.lampcms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UTF8 input string messes up some characters

snytkine opened this issue · comments

Occasionally some characters in some language gets messed up by the UTF8String sanitization or recoding.
Stop trying to guess charset and instead treat all input as utf8 but validate and sanitize the strings.
Even validation and sanitizing will be configurable option

Updated Utf8String class. No more guessing of charset. Testing changes on the website.