Can I change a unicode char to gb2312 using python?
Kick
store_li at sina.com
Wed Dec 19 08:46:41 EST 2001
More information about the Python-list mailing list
Wed Dec 19 08:46:41 EST 2001
- Previous message (by thread): Can I change a unicode char to gb2312 using python?
- Next message (by thread): Can I change a unicode char to gb2312 using python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I know that Java have a method that can manually encode string, like that,
System.out.println(new String("some chinese char".getBytes()"GB2312"))
Is there any python function or method can do the same work?
Thanks for any help!
Kick
- Previous message (by thread): Can I change a unicode char to gb2312 using python?
- Next message (by thread): Can I change a unicode char to gb2312 using python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list