Forums

[resolved] Problem Displaying Spanish Special Characters (3 posts)

  1. nfrost21
    Member
    Posted 1 year ago #

    I'm working on a wordpress site for a spanish client.

    The original installation (dashboard and blog) was in English and I updated both to Spanish using the following steps:

    1. Downloaded es_ES.mo
    2. Upload to /wp-content/languages/
    2. Changed line to " define ('WPLANG', 'es_ES'); " in the wp-config.php file.

    I expected this to fix my problem as when i few source the following looks correct:

    <html dir="ltr" lang="es-ES">
    <meta charset="UTF-8" />

    ...however special characters like "ñ" are broken in the blog. (the dashboard is correctly translated to Spanish.

    Any ideas appreciated!

  2. caceresalexj
    Member
    Posted 1 year ago #

    Hi there, any luck with this? because I'm in the same situation, now

  3. nfrost21
    Member
    Posted 1 year ago #

    Hello -

    It was a problem with the encoding of one of the files i had taken some HTML from.

    I fixed the problem by:
    1. changing text-encoding to UTF-8 in my text-editor (notepad ++)
    2. Replacing the broken special characters in the file and
    3. Uploading the UTF-8 encoded file.

    Hope this works for you!

Topic Closed

This topic has been closed to new replies.

About this Topic