aron
aron

Reputation: 2886

Aspx page does not display iso-8859-1 character

On my site: http://tangobue.simpletick.com/

I see the text:

<p>Todos los shows de tango en un s�lo lugar.</p>

However in my aspx code I have:

<p>Todos los shows de tango en un sólo lugar.</p>

What should I change so the accent appears correctly?

I have this on the top of my master page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

Upvotes: 0

Views: 2053

Answers (1)

aron
aron

Reputation: 2886

Thanks Oded!

Based on your suggestion I found this solution:

I updated the web config and changed UTF-8 to: "iso-8859-1"

http://msdn.microsoft.com/en-us/library/hy4kkhe0.aspx

<configuration>
   <system.web>
      <globalization 
         requestEncoding="iso-8859-1"
         responseEncoding="iso-8859-1"/>
   </system.web>
</configuration>

Upvotes: 1

Related Questions