Chris Seberino
unread,Jul 30, 2010, 3:04:54 PM7/30/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I understand the need for web pages to denote the 5 HTML special
characters >, &, <, ', and " with alternate representations like
".....
(These 5 are the *only* special characters in HTML right?)
What I don't understand is why an HTML page encoded with UTF-8 would
use this &#...; format for other *NON* special characters as well. It
is unnecessary for anything else right?
(By the way, this reason this came up is I pasted some text from
OpenOffice into a Django form that was pushed to a WordPress site. I
noticed a zillion of these &#...; all over the place. Most seemed
unnecessary since UTF-8 is already powerful enough to handle all types
of chars with addition of special treatment for &, <, >, ' and ". I'm
not sure what part of the process added these HTML entities OpenOffice
-> Django -> WordPress)
Thanks!
Chris