perl-unicode

What's the best way to encode strings in native encoding in perl5.8-tobe?

2002-05-06 02:21:30
So, what's the prerfered way to use native encodings as a Perl source
code in Perl 5.8? 

It seems that encoding pragma is handy but not feature complete. It
does work on scripts, not on modules. Filter::Util::Call is something
dangerous, and has a problem inside C<eval EXPR> (hence with
Apache::Registry) IIRC.

Is embedding native strings into Perl code considered harmful after
all, and do we need something like native2ascii in Java[1]?

[1] http://java.sun.com/products/jdk/1.1/docs/tooldocs/solaris/native2ascii.html

-- 
Tatsuhiko Miyagawa <miyagawa(_at_)edge(_dot_)co(_dot_)jp>

<Prev in Thread] Current Thread [Next in Thread>
  • What's the best way to encode strings in native encoding in perl5.8-tobe?, Tatsuhiko Miyagawa <=