charset problems (display & search)

A place for users and developers of the Xataface to discuss and receive support.

charset problems (display & search)

Postby 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?
gnomon
 
Posts: 8
Joined: Mon Aug 27, 2012 12:16 am

Re: charset problems (display & search)

Postby 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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: charset problems (display & search)

Postby 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 :D
gnomon
 
Posts: 8
Joined: Mon Aug 27, 2012 12:16 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 17 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved