Sean Finney on Fri, 20 Sep 2002 10:20:23 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] OT: Perl question


On Fri, Sep 20, 2002 at 09:48:58AM -0400, gabriel rosenkoetter wrote:
> On Thu, Sep 19, 2002 at 05:08:24PM -0400, Sean Finney wrote:
> > why your program is complaining.. i couldn't help much.  the only idea
> > that i'd have is that the script writer for some reason expected your
> > locale to interpret those characters as normal space characters.  have
> > you tried running this in a locale like en_US?
> 
> Perl's interpretter pays attention to locales? Not last I checked...
> They're supposed to be just for display, aren't they?

it definitely does, though maybe not by default.  try setting your locale
to something like th_TH on a debian system that doesn't support it, and
then try and use apt (it still works, it just bitches a whole lot when
it gets to a perl script).

of course, if it wasn't complaining to him in the first place about that,
then it probably wasn't the problem :)

how about just pattern replacing those 0xA0 characters with 0x20 (regular
space) and seeing how things go?

--sean

Attachment: pgps4fUdBhkP5.pgp
Description: PGP signature