PDA

View Full Version : WorldViz and Umlauts (ä, ö, ü ...)


Josh
03-31-2010, 10:46 AM
WorldViz doesn't support Umlauts... Pretty big shame, isn't it?

viz.choose("ä", options)

results in

TypeError: prompt must be a string object

farshizzo
03-31-2010, 10:50 AM
In order to get non-ascii characters to work properly, you need to set the encoding of your script to UTF-8. Go to File -> Encoding -> UTF-8. After doing this you may need to re-enter the non-ascii characters.