[Po4a-devel][CVS] po4a/lib/Locale/Po4a Po.pm,1.19,1.20
Denis Barbier
barbier@linuxfr.org
Mon, 23 Aug 2004 00:28:08 +0200
On Tue, Aug 17, 2004 at 04:36:35PM -0700, Martin Quinson wrote:
> On Sun, Aug 08, 2004 at 06:30:58AM +0000, Jordi Vilalta wrote:
> > Index: Po.pm
> > +
> > +=item to_utf()
> > +
> > +This recodes all the msgstrs in the po from the character set specified in the
> > +header to utf-8. This process is only ignored if the header character set is
> > +"CHARSET" (unspecified, usually means ascii), "ascii" or "utf-8".
>
> What do you mean here? The "only" really puzzle me. What about:
>
> <<
> Recodes to utf-8 the po's msgstrs. Does nothing if the charset is not
> specified in the po file ("CHARSET" value), or if it's already utf-8 or ascii.
> >>
>
> Is this what the function does?
And its name should be changed to to_utf8 because there are other
variants.
Denis