windows - Print UTF-8 characters in cmd using python -


 # -*- coding: utf-8 -*- print "ÆØÅ" 

when running above script in windows 7 python 2.7.3 using cmd, powershell or cygwin, output:

ÆØÅ 

the file utf-8 file , works fine in text editor. how can make print "ÆØÅ"?

you can force unicode when printing:

print u'ÆØÅ' 

Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -