![]() ![]() |
Jun 22 2008, 10:49 AM
Post
#1
|
|
|
Fellow ![]() ![]() Group: Members Posts: 106 Joined: 3-January 05 From: Dallas, TX Member No.: 15,407 |
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 |
|
|
|
Jun 22 2008, 03:00 PM
Post
#2
|
|
|
SuperGeek ![]() ![]() ![]() ![]() Group: Members Posts: 1,393 Joined: 18-November 05 From: Lake Michigan Member No.: 18,911 |
Maybe you need to specify the character encoding via either an .htaccess or as a meta tag in the page being output?
-------------------- |
|
|
|
Jun 22 2008, 05:40 PM
Post
#3
|
|
|
Fellow ![]() ![]() Group: Members Posts: 106 Joined: 3-January 05 From: Dallas, TX Member No.: 15,407 |
Using a PHP header or htacess does nothing, neither does adjusting the AddDefaultCharset setting in httpd.conf using UTF-8.
Any other ideas? |
|
|
|
Jun 23 2008, 03:54 AM
Post
#4
|
|
![]() SuperGeek ![]() ![]() ![]() ![]() Group: Members Posts: 1,542 Joined: 15-April 02 From: Cardiff, UK Member No.: 2,065 |
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. -------------------- Penguin Internet Ltd - Web Design, UK Web Hosting & Dedicated Servers
Ensim/Parallels Pro Server Specialists - Upgrades & Migrations, Ensim/Parallels Pro Licences & Server Management 25% off all listed Parallels Pro / Ensim licences with special offer code: ENSIM25 |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2009 - 03:07 AM |