[XML-SIG] wstring encode

Gabor Melis gabor.melis@essnet.se
Sun, 21 Nov 1999 16:10:26 +0200


OK, I have figured out how to encode() with wstring, but the second
question still stands.

G

On 21-Nov-99 MIME :gabor.melis@essnet.se wrote:
> Hi
> 
> Is there a way to encode a wstring? I looked into wstrop.c but it
> seems that the encode method doesn't make it to Python. I can see
> no
> reason for that, though.
> 
> Let's suppose we have encode() for a minute. It is still not good
> enough for me, because I want to encode a wstring with a specific
> encoding, but using numeric references ({) for characters not
> available in the target charset.
> 
> It is no big deal, I can implement it, but I'd hate to duplicate
> work. Forgive my ignorance, but do we have such a beast
> implemented?
> 
> Cheers, Gabor
>  _______________________________________________
> XML-SIG maillist  -  XML-SIG@python.org
> http://www.python.org/mailman/listinfo/xml-sig
> 
> 
>