po4a-dev
[Top][All Lists]
Advanced

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

Re: [Po4a-dev]Po4a Po.pm


From: Denis Barbier
Subject: Re: [Po4a-dev]Po4a Po.pm
Date: Mon, 18 Nov 2002 11:20:13 +0100
User-agent: Mutt/1.3.28i

On Fri, Nov 15, 2002 at 10:29:28AM -0500, Martin Quinson wrote:
> CVSROOT:      /cvsroot/po4a
> Module name:  Po4a
> Changes by:   Martin Quinson <address@hidden> 02/11/15 10:29:27
> 
> Modified files:
>       .              : Po.pm 
> 
> Log message:
>       Seems to work

IMO having {read,write}_from_filehandle method is a very bad idea,
because of recent changes in Perl (>= 5.8) interaction with UTF-8.
When in UTF-8 locales, Perl can read and write files only if
  * some black magic is performed when opening files (which cannot be
    done on filehandles)
  or
  * files are UTF-8 encoded

Testing this module in a UTF-8 locale with perl >= 5.8 and latin-1 files
should certainly exhibit some problems.

Denis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]