CodeIgniter Forums
problems with flashdta with diacritics - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: problems with flashdta with diacritics (/showthread.php?tid=31631)



problems with flashdta with diacritics - El Forum - 06-26-2010

[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


problems with flashdta with diacritics - El Forum - 06-30-2010

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


problems with flashdta with diacritics - El Forum - 07-01-2010

[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


problems with flashdta with diacritics - El Forum - 07-01-2010

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