Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Feb 9th, 2007, 4:35 PM   #1
UnKnown X
Hobbyist Programmer
 
UnKnown X's Avatar
 
Join Date: Dec 2005
Location: Sandvika, Norway
Posts: 114
Rep Power: 0 UnKnown X is an unknown quantity at this point
Send a message via MSN to UnKnown X
Inputting Non-ASCII Characters

More specifically, the characters in the extended ASCII set.

Admittedly, I've only tried raw_input(), but that's the only method I know except file input, to which I'm trying to avoid resorting.

Whenever I input a character in the extended ASCII set (say, "æ"), I get a UnicodeEncodeError exception. Google has not helped me much, as I am only able to find descriptions on how to use foreign characters in the Python file itself, which is of no use to me.

Thanks for any help, if you have any.
UnKnown X is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing characters in std::string magnus.therning C++ 10 Feb 1st, 2007 9:11 AM
Converting ANSI characters to hex for Checksum. JawaKing00 C 4 Sep 9th, 2005 5:07 AM
binary and ascii Nellie C++ 4 Jun 8th, 2005 1:39 PM
Unicode to Ascii welles Other Scripting Languages 5 May 6th, 2005 10:36 AM
ASCII Adjust after Multiplication rick barclay Assembly 1 Apr 25th, 2005 9:42 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:40 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC