On Tue, 2006-18-04 at 19:11 -0400, Chas Owens wrote: > On 4/18/06, John W. Krahn <[EMAIL PROTECTED]> wrote: > snip > > Assuming your source is ASCII or some other encoding that equates "\x30" to > > '0'. > snip > > Don't the newer versions of perl assume the character set is UTF-8? >
Yes but in UTF-8, '0' is "\x{30}" or "\x{0030}". (The newer versions of Perl being 5.8+) -- __END__ Just my 0.00000002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle * Perl tutorials at http://perlmonks.org/?node=Tutorials * A searchable perldoc is at http://perldoc.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>