Current location: Hot Scripts Forums » Programming Languages » Other Languages » Problem with LZW decoding


Problem with LZW decoding

Reply
  #1 (permalink)  
Old 09-18-06, 11:16 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
Problem with LZW decoding

hi, back with a question: how can i transform a utf-8 character to an integer?
this is what i have:
Code:
a = unichr(275).encode('utf8')
print ord(a)
when i test this i get an error. so how do i get the correct integer (275) back?

Greetz,
UnrealEd
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Display Problem neevrap02 Visual Basic 1 09-05-06 05:18 AM
bulk folder problem AimHigh PHP 2 06-09-06 03:06 AM
Weird mysql_query and Smarty problem Canglan PHP 3 11-15-05 08:49 PM
Count problem kasic ASP.NET 1 10-20-04 12:23 AM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 09:13 AM


All times are GMT -5. The time now is 03:40 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.