in reply to Re: use bytes and length problem
in thread use bytes and length problem
Thanks to all for your help. It appears as though
my $size= utf8::upgrade($txt);
has done the job for the problem. I'm actually doing:
my $size= utf8::upgrade($txt); utf8::downgrade($txt);
Although I seem to be ok without the downgrade, just in case it might cause me trouble later for the moment.
This comes from the *use utf8* perldoc. Does this make sense to all? Any closing thoughts?
Again, Thanks to everyone for thier help.
Jeff
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: use bytes and length problem
by John M. Dlugosz (Monsignor) on Mar 03, 2003 at 17:11 UTC |