About Us  |  Blog  |  Hosting Partners  |  Legal  |  Portal Login

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> special characters not displaying properly
coaster1
post 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
Go to the top of the page
 
+Quote Post
Jeff
post 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?


--------------------
Go to the top of the page
 
+Quote Post
coaster1
post 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?
Go to the top of the page
 
+Quote Post
Penguin
post 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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd November 2009 - 03:07 AM
 

Dedicated Servers

Managed Hosting

Colocation

Business Solutions

Why The Planet?

Contact Us