in reply to Re: • What is this?
in thread • What is this?

he doesn't use the &#number entity.
he uses the more appropriate •
  • Comment on Re: ••• Re: • What is this?

Replies are listed 'Best First'.
•Re: ••• Re: • What is this?
by merlyn (Sage) on Jul 08, 2004 at 15:08 UTC
      Why do you do it at all? (That is, after all, the original question.)

      We're not really tightening our belts, it just feels that way because we're getting fatter.

        That's easy. Shear bloody mindedness.

      Except, it's not Latin-1. Its official representation in Unicode, of which Latin-1 is a subset, is, as you can see from the subject line of thse follow-ups, 8226. That is not below 256, hence not in the Latin-1 range.

      What you're inserting is a chr(149) AKA chr(0x95), which is one of the extra characters Microsoft added in its Windows characterset (AKA cp1252), another but incompatible superset of Latin-1.

      As such, you may expect some XML parsers to barf on the XML version of these pages, and as sporty can confirm, some do — in his case, the Java XML parser he uses for katterbox.

      I found it odd that XML::Parser didn't seem to mind.