snytkine / LampCMS

Open source Question and Answer program similar to StackOverflow and Quora in PHP + MongoDB. Follow @snytkine on Twitter
http://support.lampcms.com
324 stars 104 forks source link

UTF8 input string messes up some characters #96

Closed snytkine closed 11 years ago

snytkine commented 12 years ago

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

snytkine commented 12 years ago

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