"John W. Krahn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Rob Dixon wrote: > > > > "David Eason" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > I get a space in my editor output window. but when I run it from a cmd > > > window, I get the other character. (This is under Windows 2000 and > > perl > > > 5.8.0) > > > > Windows command prompt doesn't support Unicode, but obviously > > your editor does! \240 is at least ten bits long, and so must be > > represented in Perl with UTF-8. > > $ perl -e'printf "%b\n", ord "\240"' > 10100000 > > I count eight bits. ;-/
Quite right, I'm completely off beam here! I always use hex, never octal, so saw a \x that wasn't there :-/ Truth is, \xA0 is non-breaking space in ISO Latin 1, and a-acute in Extended ASCII. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]