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 >> c++-sig
c++-sig
[C++-sig] Re: Some patches to make the "Automatic PyUnicode to 'const char*'" possible, and make __stdcall function bindable
by David Abrahams other posts by this author
Sep 12 2003 2:58PM messages near this date
Re: [C++-sig] Re: Some patches to make the "Automatic PyUnicode to 'const char*'" possible, and make __stdcall function bindable | [C++-sig] Re: class data members
"Lijun Qin" <qinlj@[...].com>  writes:

>  Hi,
> 
>  I have some patches to make the "Automatic PyUnicode to 'const char*'"
>  possible (please see
>  http://mail.python.org/pipermail/c++-sig/2003-August/004997.html for
>  details) 


Hi Lijun,

After having done some research into PyUnicode, I see that it
contains an internal buffer for the default decoding of its string.
If you can set the default decoding to utf8 (that's what you're
using, right?) you may find there's an easier solution to your
problem.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
Lijun Qin
Lijun Qin
David Abrahams

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved