My configuration: Win7 + Python 2.6 + eclipse + PyDev
How do I enable Unicode print statements in:
- PyDev console in eclipse
- Idle Python GUI
Example print statement:
print(u"שלום עולם")
This comes out as:
ùìåí òåìí
My configuration: Win7 + Python 2.6 + eclipse + PyDev
How do I enable Unicode print statements in:
Example print statement:
print(u"שלום עולם")
This comes out as:
ùìåí òåìí
This article seems relevant, although it mostly talks from the Java side.
For eclipse unicode console support:
In the installation I did all of the above:
print(u"שלום עולם") # Doesn't work
print("שלום עולם") # Works
For django models:
print(my_model.my_field) # Doesn't work
print(my_model.my_field.encode('utf-8')) # Works