By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,332 Members | 1,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,332 IT Pros & Developers. It's quick & easy.

how to convert '8868' to u'\u8868'

P: n/a
a = '8868'
b = u'\u8868'

I want to convert a to b

who can help me ?

thank you very much!
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies

P: n/a
On Jun 25, 11:30 am, CodeHunter <Code4Hun...@gmail.comwrote:
a = '8868'
b = u'\u8868'

I want to convert a to b

who can help me ?

thank you very much!
unicode(a)
Jun 27 '08 #2

P: n/a
On Jun 24, 7:30*pm, CodeHunter <Code4Hun...@gmail.comwrote:
a = '8868'
b = u'\u8868'

I want to convert a to b

who can help me ?

thank you very much!
>>a='8868'
unichr(int(a,16))
u'\u8868'
Jun 27 '08 #3

P: n/a
On Jun 25, 9:51*am, ru...@yahoo.com wrote:
On Jun 24, 7:30*pm, CodeHunter <Code4Hun...@gmail.comwrote:
a = '8868'
b = u'\u8868'
I want to convert a to b
who can help me ?
thank you very much!
>a='8868'
unichr(int(a,16))

u'\u8868'
thank you very much
Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.