Re: Encode exception for chinese text

2006-05-19 Thread swordsp
Are you sure all the characters in original text are in "gb2312" charset? Encoding with "utf8" seems work for this character (u'\xa0'), but I don't know if the result is correct. Could you give a subset of str_data in unicode? -- http://mail.python.org/mailman/listinfo/python-list

ftplib.ftpcp(), undocumented function?

2006-05-19 Thread swordsp
Hi all, I found this function recently when I read the source code of ftplib module, I almost omit it at all and have tried to write it myself for FXP work. It seems exist long long ago, but never appeared in any document, anyone knows why? Is its implementation broken or planed to be removed from