Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > problems with special characters and apache

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-19-2003   #1 (permalink)
wza
Just Joined!
 
Join Date: Dec 2003
Posts: 5
Send a message via ICQ to wza
problems with special characters and apache

i've setup an apacheserver on a linuxbox; and imported an existing mysql database. Problem i have is that in the database special characters like é or à are not shown, and the webserver doesn't seem to automatically encode them in the parsed output in a browser, instead i'm getting a questionmark symbol for every special character .

Since both the scripts and the data are an identical copy from another server that returned these characters correct even tho they're not encoded in the database, i suppose there is a configurationsetting or module in apache that automatically does this.

Anyone can point me into the right direction to do this?
wza is offline  



Reply With Quote
Old 12-19-2003   #2 (permalink)
Linux Guru
 
Join Date: Apr 2003
Location: London, UK
Posts: 3,284
are you sure they are in the database correctly? do they display correctly if you use the MySQL command line tool to select the data from the database? MySQL 4, 4.1 has much better internationalisation support than 3.x.
jasonlambert is offline   Reply With Quote
Old 12-20-2003   #3 (permalink)
wza
Just Joined!
 
Join Date: Dec 2003
Posts: 5
Send a message via ICQ to wza
well, they are in the database without entities, é's and à's are stored like that. There wasn't any trouble with this on other servers, it appeared that special characters got encoded automatically by the server...
wza is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:02 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1