Tony
Tony

Reputation: 23

Font not displaying properly in spanish

I have a web page displaying inside an iframe when I access it from from local machine:

http://localhost/mypage.html

it will display the following text correctly in spanish:

Búsqueda

But if I call it from my website

http://mywebsiteurl.com/mypage.html

I get the following:

Búsqueda

notice the ú has been replaced by ú I have tried changing fonts but the results are the same. The files on the web server are the same as on my localhost. Any ideas? Could it have something to do with my apache or php configuration may be difrerent than on my localhost machine?

Upvotes: 0

Views: 145

Answers (2)

Rachel Gallen
Rachel Gallen

Reputation: 28553

in your html tag add the following

<html lang="es">

Upvotes: 1

0Ds0
0Ds0

Reputation: 598

What you need might be

AddDefaultCharset UTF-8

in your .htaccess

For more insight check this thread How to change the default encoding to UTF-8 for Apache?

Upvotes: 0

Related Questions