James Edward Gray II wrote: > Why when I run this one-liner: > > perl -e 'print "\x{2660}\n"' > > do I see this: > > Wide character in print at -e line 1.
Makes sense. 2660 would overflow a one-byte character. > > > I'm assuming that's a warning, since I still get the expected output, > but why am I getting it, when I didn't ask for them? > > Is there a better way to drop in a unicode character? I think you need to warn the compiler ahead of time that you are reading or writig unicode. It adapts anyway, but it's just reminding you. You might see if you can make sense out of perldoc encoding perldoc perlunicode though they are both rather windy and circuituous. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>