Log in

View Full Version : html entity



boogyman
09-18-2007, 03:12 PM
1) Script Title:

2) Script URL (on DD):
Script http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm
Thread Problem Occured http://dynamicdrive.com/forums/showthread.php?t=24822


3) Describe problem:
<< >> should be converted to their character codes
&laquo; &raquo;

housed in http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/ajaxpagination.js

djr33
09-18-2007, 03:28 PM
&gt; &lt; ?

boogyman
09-18-2007, 03:32 PM
that is for just 1 arrow, the script script uses the double arrow.
but I think that just 1 arrow would be better, because the double arrow suggests movement of more then 1 either way.

djr33
09-18-2007, 04:24 PM
Oh, I get it. You just posted two single arrows, but were referring to the extended character set item. Makes sense.

jscheuer1
09-23-2007, 08:24 AM
How is this a bug? Sounds like an update, or just personal preference to me.

Twey
09-23-2007, 11:23 AM
A bad one. These are modern times, we have all sorts of standards like Unicode now. This "double arrow" (chevron or guillemet) is a quotation mark in several languages -- it's part of more than one natural language. Imagine if you had to write your native language as
&hchar;&echar;&lchar;&lchar;&ochar;&comma;&space;&Bchar;&ochar;&bchar;&fullstop;This is one original prejudice of the Web that we shouldn't have to deal with any more.

boogyman
09-24-2007, 12:26 AM
I brought this up because there was a problem with someone's code. it wasnt showing the entities correctly.

Twey
09-24-2007, 08:46 AM
Still, it's not a problem with the script, it's a problem with mismatched encodings on the user's part.