[thelist] CF -- scrubbing special characters
.jeff
jeff at members.evolt.org
Mon Sep 9 19:52:01 CDT 2002
joshua,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Joshua Olson
>
> > [...] it's not a completely satisfactory solution for
> > "invalid" characters like the infamous • or
> > word's curly quotes, etc.
>
> Using the code I provided, that particular character is
> replaced appropriately. You are correct in noticing
> that not all unicode characters will be replaced. Only
> characters between 127 and 255 slots will be replaced.
> In this case, the character you suggested is 149 and will
> be replaced.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
rudy's point though is that • is no longer considered a valid numeric character entity. we should be using • or • instead. the same for — which should be replaced with — or —.
http://evolt.org/article/character_entity_chart/17/21234/
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list