PDA

View Full Version : ascii values dont work


jaelover
05-24-2007, 08:41 PM
im trying to do a project for my German class with this and i need to use umlauts(the dots above a letter) and when i type in the speak thing i want to do an o with umlauts so i use ascii and type alt(hold) 148 and i get the umlaut but when i run it i get a wierd symbol and an A
Help ME

DrJim
05-24-2007, 11:31 PM
Never tried this before but he’s right. ÄÖ öüß prints fine in Word - and here - but is garbage in a “say” command. :( :confused: :(

Any suggestions anyone?

By the way, a nice source for German fonts is http://www.germancorner.com/fonts/ .

Warning: When I tried the same short string as a 3D text object, I actually crashed Alice before the 3D text even loaded.

jaelover
05-25-2007, 03:34 PM
thanx for the fonts
my teach will like em
well my teach said i dont need to use the umlauts
but i still wanna know if there is anyway to use em?

DrJim
05-25-2007, 04:55 PM
The problem seems to be most current fonts assume an 8-bit character code while Alice seems to only like 7-bit codes - possibly a throwback to some of the Python code. At least a lot of the reference I turned up on searches dealt with Python and 8-bit code issues, although they were all fairly old references. It looks like 8-bit codes became so common that the issue lost relavence.

There was, apparently, a 7-bit DOS code set for Western European languages, which included the various accent markings. I vaguely remember working with it many years ago on a joint project with a French division of the company I worked for - even then it was a bit hard to find.

I was not able to find an equivalent modern font after a pretty good search, but there are so many fonts out there :eek: that I easily could have missed it. If anybody has found this type font (7-bit, i.e. only characters for 0-127, and supporting European accent marks), would you please post a reference. :)

Meanwhile, for long text passages, you can make them in Paint, etc. and post them as billboards. (If your graphics program supports transparency, you can make the text (or text balloons) with a transparent background and import them in .png format.) A lot of work - but also the most flexible option.