in reply to Unregognized character \xA0

The \xA0 is an unprintable character that somehow got into your text. You can either open it up in a hex-capable editor to see where it is or you can just clean all the whitespace out of, and around, the hash. Or, just copy and paste off the PM webpage (not using the "download code" function. That should clear this particular situation up.

- jbWare

Replies are listed 'Best First'.
Re: Re: Unregognized character \xA0
by graff (Chancellor) on Feb 02, 2004 at 04:02 UTC
    Actually, "\xA0" is a "non-breaking space" in "Latin1" (ISO 8859-1). I would expect an app like MS-Word to produce a byte like this if it were "preceded" (or "followed", depending on your notion of byte order) by a null byte, indicating UTF-16 encoding. But then I'd expect perl to complain about null bytes (but maybe it wouldn't -- I haven't tried). Or, if Word was using Latin1 as its output encoding (but that seems unexpected).
Re: Re: Unregognized character \xA0
by Anonymous Monk on Feb 02, 2004 at 02:00 UTC
    Okay, thank you. I copied this from a website, there was text formatting when I copied it over into Notepad so maybe that's where the unseen character was hiding. I deleted it and rewrote it myself in Notepad and everything works fine. Very, very weird, but it's all good now. Thanks wise monks!