LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-23-2003, 04:34 PM   #1
maseby
Member
 
Registered: Oct 2003
Posts: 42

Rep: Reputation: 15
python2 interpreter.....


anyone know how to make the python2 command line interpreter understand the swedish letters å,ä,ö

when this program is compiled it prints funny characters instead of the ones it should write...


#!/usr/bin/python2
def test():
text='åäö'
lista=''
for x in text:
lista=lista +x

return lista



if __name__=='__main__':
test()
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Python2.4 sanu Linux - Newbie 1 04-01-2005 07:31 AM
Install python2.4 elopee Programming 7 02-01-2005 12:14 PM
python2.2 is not available? darrylneufeld Fedora 4 06-01-2004 08:10 AM
python2 programming maseby Programming 4 10-26-2003 05:13 PM
python2.2 Dependencies webboss Linux - General 3 03-06-2002 04:20 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration