Welcome Guest, Not a member yet? Register   Sign In
problems with flashdta with diacritics
#1

[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
#2

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

[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
#4

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




Theme © iAndrew 2016 - Forum software by © MyBB