Page 1 of 1

charset problems (display & search)

PostPosted: Mon Aug 27, 2012 12:31 am
by gnomon
Hello,
I've prepaired simple database (PIM-like). And what happened? MyPHPAdmin displays all national characters in a good way, but Xata makes them "?" (question mark).
Editing with Xata, of course, helped with diplaying, but search engine does not recognize them.

In Dataface_Main_Template.html I've changed charset to utf-8, and whole database is marked as utf-8 but....

Any ideas?

Re: charset problems (display & search)

PostPosted: Tue Aug 28, 2012 4:46 pm
by shannah
Where are these characters coming coming from? The database or a PHP file (or a config file)?

If you're using non-latin characters, you may need to explicitly set the output and input encodings by adding the following to the beginning of your conf.ini file:

Code: Select all
default_oe = "utf-8"
default_ie="utf-8"


-Steve

Re: charset problems (display & search)

PostPosted: Tue Aug 28, 2012 11:00 pm
by gnomon
Thanks Steve,
That solution helped me :)
Btw: reading manuals is a good solution too. I've found this explanation a few minutes earlier :D