Foreign characters

Posted on 2004-11-01
Last Modified: 2013-12-16

I am using Fedora Core 1, and foreign characters are not displaying correctly on webpages (htm, html, php, etc)

Jos� Luis L�pez Nu?es
instead of
José Luis López Nuñes

I first though it was a MySQL related issue as I first noticed this issue in data base driven sites and in fact some errors did correct after editing php.ini uncommenting the line

default-charset = "iso-8859-1"

but there are still problems with foreign characters even on simple html pages.

Any help would be appreciated.


Cecilia Martinez

Question by:ceciliamtz

    Author Comment

    Jos? Luis L?pez Nu?es
    instead of
    José Luis López Nuñes
    LVL 2

    Accepted Solution


    It could/should be an apache/webserver issue.

    have a look at "mod_mime-defaults.conf" and define there your charset also.

    I think it was to add something like "AddDefaultCharset ISO-8859-1"



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now