Danish characters in titles
"Poul Riis" <Poul.Riis-pIBpe43/vk1knbxzx/[email protected]>
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
After upgrading to python 3.1 I cannot put Danish characters in display
titles in the same manner as before when I used \346\370\345\306\330\305
as æøåÆØÅ (not sure how the last 6 characters are displayed on your
screen unless it has been set up to display Danish characters...).
The print commands in the example below work but the title is far from
what I hope.
Poul Riis
from visual import *
print("\346\370\345") #æøå
print("\306\330\305") #ÆØÅ
print(chr(230)+chr(248)+chr(229))#æøå
print(chr(198)+chr(216)+chr(197))#ÆØÅ
field=display(title="\346\370\345"+"\306\330\305"
+chr(230)+chr(248)+chr(229)+chr(198)+chr(216)+chr(197),
width=900,height=900,x=500,y=0,forward=(-5,-1,-0.5),up=(0,0,1),
center=(0,0,0),background=(1,1,1),fullscreen=0,ambient=0.8)
xyplane=box(pos=(1,1,-0.05),axis=(0,0,1), length=0.1, height=2,
width=2,color=color.green,material=materials.wood,opacity=0.2)
xzplane=box(pos=(1,-0.05,1),axis=(0,1,0), length=0.1, height=2,
width=2,color=color.blue,material=materials.marble,opacity=0.2)
yzplane=box(pos=(-0.05,1,1),axis=(1,0,0), length=0.1, height=2,
width=2,color=color.red,material=materials.blazed,opacity=0.2)
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users