[jdev] Ok, here's my tiny little Perl script

Trejkaz trejkaz at trypticon.org
Fri Sep 30 03:26:56 CDT 2005


On Fri, 30 Sep 2005 04:17, John Talbot wrote:
>
> > - *and* to use unicode for string handeling by default
>
> No, it doesn't have that (and 5.8.6 has that?). It has got to be Perl's
> fault, but perhaps there's a way to avoid installing a second version of
> Perl on my system (I've got to keep the old one too, so many .debs are
> dependent on it in some way) - is this advice you're giving accurate?
> i.e. are newer versions of Perl handling unicode by default? If so,
> maybe I can just plug a 'use utf8;' command or type-in some CLI switch
> and make it all happen...

This was ringing a bell, so I did a search through the man pages.

Perl syntax is:

use encoding "utf-8";

But I was under the impression that it was utf-8 by default.  But that might 
just be the difference... mine worked as-is, but maybe your system needs the 
line.

TX

-- 
             Email: Trejkaz Xaoza <trejkaz at trypticon.org>
          Web site: http://trypticon.org/
         Jabber ID: trejkaz at jabber.zim.net.au
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20050930/68e83bf3/attachment-0002.pgp>


More information about the JDev mailing list