Problem with accentuation on a site

1

In a website that I developed, I have the following text: The waxing line of ... , this text opens perfectly in Windows, in any browser. On the Mac, the text appears as follows: The depilation line, .

What can this be?

The site's encoding looks like this:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
asked by anonymous 12.09.2014 / 16:03

3 answers

3

In order to write epilation and appear as you type with the accent you have to change the encoding to:

<meta http-equiv="Content-Type" content="text/html; charset=8859-1" />

Otherwise you will have to type Depila&ccedil;&atilde;o to appear Hair Removal.

    
12.09.2014 / 16:12
0

Uses an HTMLEnconde:

HttpUtility.HtmlEncode(myString);

This code would be for a .NET application, but you can also use jQuery to solve this:

$('#campo').text(value).html();

    
12.09.2014 / 16:28
0

Two possible solutions:

1) Appear to be a Macintosh font problem.
Open the Universal Type Client, you might have two conflicting Arial font versions.
Select the universal copy of the Arial font and turn it off.

2) Change the encoding in Chrome settings
Tools > Encoding and select the option Auto-detect.

    
12.09.2014 / 16:29