[pmwiki-users] Bug squashing--double quotes

Patrick R. Michaud pmichaud at pobox.com
Wed Sep 20 11:25:48 CDT 2006


On Wed, Sep 20, 2006 at 12:09:45PM -0400, Sandy wrote:
> Patrick R. Michaud wrote:
> > On Wed, Sep 20, 2006 at 07:12:36AM -0400, The Editor wrote:
> >> Is there a code replacement for a double quote mark?  Something like
> >> %0a or %25?  It prevents some input forms from saving data properly,
> >> and I'd like to tinker with doing a little string replacement.
> > 
> > In a url, a double-quote is %22.  In HTML, a double-quote character
> > entity is " .  
> > 
> > Pm
> 
> Newbie Question:
> 
> Why two different numbers for the same character? I've got a chart for 
> the HTML entities from an earlier discussion.

The %22 is in hexadecimal (base 16), the " is decimal (base 10).

Another way to represent a double-quote in HTML is " , which 
makes the use of the hexadecimal notation more obvious.

Pm




More information about the pmwiki-users mailing list