[Snowball-discuss] 16 bit characters in Snowball

Andreas Jung Andreas Jung" <andreas@zope.com
Tue, 28 May 2002 14:14:38 -0400


Ah thanks...I finalized my Python for Snowball over the weekend
and they are now fully capable to handle unicode strings.

Andreas
----- Original Message -----
From: "Martin Porter" <martin_porter@softhome.net>
To: "Andreas Jung" <andreas@andreas-jung.com>; "Richard Boulton"
<richard@tartarus.org>
Cc: "Snowball discussion list" <snowball-discuss@lists.sourceforge.net>
Sent: Saturday, May 25, 2002 14:01
Subject: Re: [Snowball-discuss] 16 bit characters in Snowball


>
> z->p is itself of type 'unsigned short *'. So in the line
>
>     for (i=0;i<z->l;i++) printf("%d %c\n",z->p[i],z->p[i]);
>
> you are picking items up in 16 bit units, not 8 bit units.
>
> Martin
>
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Snowball-discuss mailing list
> Snowball-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snowball-discuss
>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Snowball-discuss mailing list
Snowball-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snowball-discuss