Subject: Re: completeness of Perl bindings
From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Wed Jun 20 2001 - 09:16:16 CDT
Vlad Harchev wrote:
>
> On 20 Jun 2001, Joaquín Cuenca Abela wrote:
>
> > On 20 Jun 2001 12:30:48 +0500, Vlad Harchev wrote:
> > >
> > >
> > > Hi,
> > >
> > > First of all - it's so much wonderful that Perl bindings are available
> > > and are even documented :) !
> > > Looking at the HOWTO, it seems they can be extended a bit.
> > >
> > > * it seems that there is no ability for printing of the document (using
> > > default settings at least)
> > > * There should be a way to insert a non-latin1 text into AW using bindings too
> > > (it may already be possible through the bindings and the latest Perl -
> > > dunno) - but I propose to add the following methods (very cheap to implement):
> > > writeUnicode( <unicode value here>)
> > > writeutf8("<utf8 string here>")
> > > After something like this will be available, everybody will be able to use
> > > perl bindings for adding data in their own language.
> >
> > of course, but I would like to only have a write operation (your
> > writeUnicode). Unfortunatelly I don't know how to translate unicode
> > perl strings to the C/C++ world, but I will take a look.
>
> I was not implying that we need to support latest perl only (that supports
> unicode). writeutf8 function is extremely important too (since converting from
> some encoding to UCS2 is by orders more difficult than from some encoding to
> utf8 (in that case, iconv utility from libc can be used)). Or 'write' function
> should treat its parameter as utf8 string..
I have perl programs where I use Unicode on old versions of Perl.
Because I'm the programmer, I know what kind of data I'm going to
passing to a writeutf8 function so the function should just trust
the programmer using it.
I would love to implement this myself actually. Do we have any idea
how much work is involved in porting the Perl bindings to Windows?
Yes it is possible - does anybody have any experience or knowledge?
Andrew Dunbar.
-- http://linguaphile.sourceforge.net _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
This archive was generated by hypermail 2b25 : Wed Jun 20 2001 - 09:14:21 CDT