Re: [pyxpcom] Python XPCOM extension
by Todd Whiteman other posts by this author
Mar 31 2008 8:45AM messages near this date
view in the new Beta List Site
Re: [pyxpcom] Python XPCOM extension
|
Re: [pyxpcom] Python XPCOM extension
Mark Hammond wrote:
> Shane writes:
>
> > One thing that should be considered, the Mozilla code base itself is
> > UCS2 (actually UTF-16). If Python uses UCS4, then every xpcom call
> > that
> > passes wstring in the IDL will do a string conversion. The more
> > efficient approach is UCS2 if python is included as part of the
> > extension.
> >
>
> I agree - IMO, for platforms that offer the possibility to choose, and
> absent any other compelling reason, we should match the size of Mozilla's
> and Python's Unicode implementation.
>
Thanks, that makes sense. I'll stick with the ucs2 builds on Linux.
Cheers,
Todd
_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Todd Whiteman
Lekma
Todd Whiteman
Shane Caraveo
Mark Hammond
Todd Whiteman
Lekma
Paul Everitt
Todd Whiteman
|