Help - Search - Members - Calendar
Full Version: special characters not displaying properly
The Planet Forums > Control Panels > Plesk
coaster1
I have some special characters in my database, but when they are viewed on the results page, they display the question mark.

Via phpMyAdmin, the special character displays properly (Dornröschen), however, via the results, its not displaying.

Any idea if this is php or apache causing this? Would I need to use something like mod_rewrite?

good: Dornröschen
bad: Dornr�schen
Jeff
Maybe you need to specify the character encoding via either an .htaccess or as a meta tag in the page being output?
coaster1
Using a PHP header or htacess does nothing, neither does adjusting the AddDefaultCharset setting in httpd.conf using UTF-8.

Any other ideas?
Penguin
Try setting the AddDefaultCharset directive in your httpd.conf to off, ie:

AddDefaultCharset off

Setting it to anything else forces the specificed character set. Setting it to off allows you to specify the encoding via the actual web page.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.