PDA

View Full Version : Code anomaly



Qwerty
07-04-2011, 14:03
I seem to get some strange code anomalies for certain characters. For example, in the first CMS article the caption reads A 21" blade, folding buck saw.

But when I click into the story it suddenly becomes A 21" blade, folding buck saw.

I have seen this quite a bit with currency symbols etc.

Just a heads up. :)

ged
07-04-2011, 14:12
Browser settings and/or your PC's character set can be responsible for this kind of thing, check them first.

Qwerty
07-04-2011, 14:56
This is the only forum of a dozen or more that I regularly use that gives this problem. Using Firefox 3.6.16 btw

ged
07-04-2011, 16:00
The HTML is definitely a bit weird there. It has "& amp ; quot ;" instead of "& quot ;". Might be a bit of parsing in headings that they missed in vBulletin, might be human error.

bearman
07-04-2011, 16:24
I get the same problem with prices sometimes, I'm a bit of a div when it comes to computers so if anyone has an answer it would be most helpful

mikeybear
07-04-2011, 18:39
Its xml encoding , since various characters have a special meaning , if you want to see the character you need to put in a special combination in the case of xml " is expanded as " and & as &

Why you are seeing it is another matter.

MB

ged
08-04-2011, 11:04
I get the same problem with prices sometimes, I'm a bit of a div when it comes to computers so if anyone has an answer it would be most helpful

Unfortunately there probably isn't just one answer. You could take a look here

http://support.mozilla.com/en-US/questions/766381#answer-119527

for some ideas but sometimes it isn't a problem at your end at all. That seems to be the case in the Original Post (OP) in this thread. The link above refers specifically to Friefox but other browsers do things in similar ways. You need fonts installed in the computer which the browser can use to display characters. The characters which the page tells the browser to display can appear different depending on which font(s) you have installed and/or are using at the time.

You can always use "view page source" (or whatever the equivalent term is in your browser) to see the codes that were sent by the Website to your browser, but finding the right bit of the page buried amongst miles of HTML can be a bit daunting.