CodeIgniter Forums

Full Version: problems with flashdta with diacritics
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]metelesku33[/eluser]
i got troubles to show some flash messages with diacritics

i used lang files encoded in utf-8 and loaded messages with $this->lang->line

i set flashdata with $this->session->set_flashdata('info', $info);

but when in $info is like "Váš účet a email boli úspešne overené. Prosím prihláste sa!"
the message is not displayed via echo $this->session->flashdata('info');

the problem charecter is "č" as I discovered

some text with diacritics are displayed OK

El Forum

[eluser]33cent[/eluser]
Try to convert all files to UTF-8.. that worked for me.

El Forum

[eluser]metelesku33[/eluser]
thanks
yes, i am using session store to DB, and there was needed to set charset of user_data column to utf8

El Forum

[eluser]metelesku33[/eluser]
i want close this thread buti don't know how Sad