perl-unicode

Re: Unicode aware module

1999-06-12 14:09:42
Gurusamy Sarathy <gsar(_at_)activestate(_dot_)com> writes:

It seems better to have both C<use utf8> and C<use locale> have a global
effect, and add a lexically scoped C<use byte> (or similar) that will
mark places that operate on binary data, and therefore turn off any
encoding related pragmata.  What do you think?

I think you should be worried about the security issues if you decide to
go this route.  People using regexes to clean data may suddenly discover
that they're getting more than they bargained for.  Actually using -T may
protect you against that, but not everyone cleaning data uses -T.

-- 
Russ Allbery (rra(_at_)stanford(_dot_)edu)         
<URL:http://www.eyrie.org/~eagle/>

<Prev in Thread] Current Thread [Next in Thread>