in reply to • What is this?

• merlyn is obviously assuming that people are especially keen on reading his nodes and helps us to find those easier ... ;))

pelagic

Replies are listed 'Best First'.
Re: ••• Re: • What is this?
by Anonymous Monk on Jul 08, 2004 at 09:27 UTC
    he doesn't use the &#number entity.
    he uses the more appropriate •
        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.
        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.