ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pyxpcom
pyxpcom
Re: [pyxpcom] Python XPCOM extension
by Mark Hammond other posts by this author
Mar 24 2008 2:25AM messages near this date
view in the new Beta List Site
Re: [pyxpcom] Python XPCOM extension | Re: [pyxpcom] Python XPCOM extension
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.

Mark.

_______________________________________________
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved