简体   繁体   中英

html charset working different on 2 servers

I've a website that was developed on my linux server. I'm from Brazil so we do have latin characters like é á ã, etc...I'm using charset=ISO-8859-1 on my website and everything works:

http://www.kbytes.com.br/siteitau/

The problem is that this site was moved to another server and now it's all messed up:

http://sites.itaucultural.org.br/cinemadebordas/

Some of the texts are coming from the database, but all places that I have a latin character is not working. I have no idea how to fix it....any ideas?

Looks like apache is set to deliver UTF8.

Content-Type: text/html; charset=UTF-8

Either change it in the apache conf or try setting a charset directive in htaccess

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM