User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 429,994 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,396 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser: Programming Forums
Views: 207 | Replies: 0
Reply
Join Date: Jun 2008
Posts: 1
Reputation: shlomgad is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shlomgad shlomgad is offline Offline
Newbie Poster

Raw UCS2 data to unicode object

  #1  
Jun 10th, 2008
Hello,

I'm trying to convert a string which includes raw UCS2 unicode characters into a Python unicode object.

For example:

The string: "05E905DC05D505DD"

The result I need:

u'\u05E9\u05DC\u05D5\u05DD'

What's the function I should use ?

Thanks,
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Python Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the Python Forum

All times are GMT -4. The time now is 12:44 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC