charset problems (display & search)

Archived from the Xataface Users forum.

gnomon — Mon Aug 27, 2012 12:31 am

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?


shannah — Tue Aug 28, 2012 4:46 pm

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


gnomon — Tue Aug 28, 2012 11:00 pm

Thanks Steve,
That solution helped me
Btw: reading manuals is a good solution too. I’ve found this explanation a few minutes earlier