Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Strange characters when HTML activated
Rayc
Posted on 13 Jun 2010, 16:30:31

Access: Member
Total Posts: 74
Joined: 2010-06-13

Hi, last one for today, promise. :smile:

When I activate HTML for a news poster, and they use certain characters, the characters are displayed strangely.

For example a right single curly quote ’ displays as ’
Or a degree symbol ° displays as °

I realize these are "special" characters, but is there is a way to have these displayed normally without having to turn off HTML?

Thanks.
-Ray
#2445
Chris
Posted on 13 Jun 2010, 19:30:22

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I could recreate this problem in IE and Chrome, firefox seemed to do it as well but as the page finished loading it corrected the characters and displayed them properly.

If you view this page in IE or Chrome it'll display them incorrectly.

http://dev.network-13.com/news/?id=10508#comments

But if you view this page

http://dev.network-13.com/testlayout/?id=10508#comments

They display fine.

Try adding the following to the head section of your page

Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


Hopefully that should correct it.
#2450
Rayc
Posted on 14 Jun 2010, 01:08:29

Access: Member
Total Posts: 74
Joined: 2010-06-13

That's curious, as I generally use Firefox, and this is where I notice the problem.

I tried inserting the code, but my web design software inserts this upon publishing, and I ended up with both:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

If I delete that and replace with
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">, the problem goes away.

At least I have a clue, and will take it from there.

Thanks.
-Ray
#2482
Last edited by Rayc at 2010-06-14 01:08:51 Reason:
Network-13.com © 2013