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. ;-/ John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]