0

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?

Tony
  • 23
  • 1
  • 4

2 Answers2

1

in your html tag add the following

<html lang="es">
Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81
0

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?

Community
  • 1
  • 1
0Ds0
  • 598
  • 5
  • 19