PDA

View Full Version : Can any of you smarties help with strange font symbols?



braindead
23-09-2013, 04:42 PM
I'm getting this when viewing a webpage on the web: "Don�t tell them". On my screen the apostrophe in the word "don't" is a tiny black triangle. I'm using Firefox latest. I've been all over looking for a solution that will render the symbol as text - I'm caught in the language options in Firefox, and not sure what they should be. Any help much appreciated.

pcuser42
23-09-2013, 04:58 PM
Seems like an encoding issue to me - looks like it was originally UTF-8 but is being rendered as ASCII. Unfortunately I don't think that's something you can fix, it's up to the web developer to fix that.

braindead
23-09-2013, 05:06 PM
Thanks PCUser42. I am the web developer so fire away :)

pcuser42
23-09-2013, 05:25 PM
EDIT: Note to self, read things properly...Your meta tag with the encoding should have a value of utf-8 - I'll go into more detail when I get home :)

braindead
23-09-2013, 05:40 PM
Very cool. Good on you for tracking it.

braindead
23-09-2013, 06:01 PM
Oops - forgot the URL
http://www.estherkamkar.com/ESTHER-KAMKAR-NEW/2-col-fixed-sidebar.html

pcuser42
23-09-2013, 06:23 PM
Hmm, seems fine to me...

braindead
23-09-2013, 06:36 PM
Thanks. I think I missed out some info that may help: I only see the text anomalies in the text in the left side bar, wherever there's an apostrophe or something. When you refresh the page, different sidebar content comes up. Some pages have the anomaly, some don't, just to make it tricky.

pcuser42
23-09-2013, 06:46 PM
Aah I've got it now :p

5207

Copying the character into Notepad++ then encoding as ANSI gave � - googling this tells me the original character was the Unicode Replacement Character - going into that JavaScript file and replacing them with an apostrophe should do the trick. :)

braindead
23-09-2013, 06:50 PM
Thanks hugely. I think I should be good to go now.

braindead
24-09-2013, 09:09 AM
Just wanted to let you know - that worked like a charm. Your detective work is much appreciated.

pcuser42
24-09-2013, 09:47 AM
Just wanted to let you know - that worked like a charm. Your detective work is much appreciated.

No worries :)