CodeIgniter Forums

Full Version: Foreign characters getting trimmed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]mr_prasanna[/eluser]
Hi,

What causes foreign characters to get trimmed. e.g "Löytänänkatu" becomes "Lytnnkatu" when fetched from $this->input->post('city').
Please help. Does XSS filtering affect?

El Forum

[eluser]mr_prasanna[/eluser]
Solved. It was the charset in content-type meta tag causing this. Changed it to UTF-8 and it works like a charm!