Page 1 of 1
Still... the engine won't allow to type special characters
Posted: Mon Aug 30, 2010 7:32 am
by Telumar
Ralph, just a minor glitch, but in the case you missed it:
the engine still can't recognize special characters like the german 'Umlaute'. Scenarios that use them load and display them correctly, but you still can't properly enter these letters in the unit- and placename dialogue.
I'm sure it's the same with the french and spanish special characters. In the Menues/Translation it works all fine, but not in the Place- and Unit name dialogue.
I know, i can export the sce/oob to xml, enter the correct letters and re-import into the editor, but it would be nice if one wouldn't need this workaround.
I.e. here's waht a ü looks like in the unit name of a Füsilier Bn:

RE: Still... the engine won't allow to type special characters
Posted: Mon Aug 30, 2010 12:11 pm
by Curtis Lemay
ORIGINAL: Telumar
Ralph, just a minor glitch, but in the case you missed it:
the engine still can't recognize special characters like the german 'Umlaute'. Scenarios that use them load and display them correctly, but you still can't properly enter these letters in the unit- and placename dialogue.
I'm sure it's the same with the french and spanish special characters. In the Menues/Translation it works all fine, but not in the Place- and Unit name dialogue.
I know, i can export the sce/oob to xml, enter the correct letters and re-import into the editor, but it would be nice if one wouldn't need this workaround.
I.e. here's waht a ü looks like in the unit name of a Füsilier Bn:
I sure I've seen umlauts displayed with some Windows fonts. Maybe you can try a different one, like Times Roman. Regardless, as I said in the What's New, they won't display the SS Runes, so you should use bitmapped fonts for the unit info stuff. Windows fonts are only needed for map stuff (placenames, supply, objective values, etc.)
RE: Still... the engine won't allow to type special characters
Posted: Mon Aug 30, 2010 2:06 pm
by Telumar
No it's not the windows fonts. I've tried several fonts and also the bitmapped fonts. No luck.
I've seen umlauts displayed with some Windows fonts
The problem is not that the game doesn't display them. It displays them i.e. when loading a scenario.
The problem is the input. When typing ä, ö or ü, the engine displays an empty square at first, then, when the dialogue is closed the square turns into a questionmark.
the same with é, â, ñ etc..
RE: Still... the engine won't allow to type special characters
Posted: Tue Aug 31, 2010 3:14 am
by ralphtricky
Darn, I caught it in the victory conditions, I'll have to try to figure out where else it may be happening.
Thanks,
Ralph
ORIGINAL: Telumar
Ralph, just a minor glitch, but in the case you missed it:
the engine still can't recognize special characters like the german 'Umlaute'. Scenarios that use them load and display them correctly, but you still can't properly enter these letters in the unit- and placename dialogue.
I'm sure it's the same with the french and spanish special characters. In the Menues/Translation it works all fine, but not in the Place- and Unit name dialogue.
I know, i can export the sce/oob to xml, enter the correct letters and re-import into the editor, but it would be nice if one wouldn't need this workaround.
I.e. here's waht a ü looks like in the unit name of a Füsilier Bn:
RE: Still... the engine won't allow to type special characters
Posted: Tue Aug 31, 2010 3:25 am
by ralphtricky
This probably won't be fixed for 3.4, I'll put it down for 3.5.
The basic problem was that TOAW was originally written before Unicode was popular, and I'm finding out that some of the older windows APIs don't use unicode but are still supported. I've got to update them to the newer APIs.
Ralph
RE: Still... the engine won't allow to type special characters
Posted: Thu Sep 02, 2010 4:41 pm
by Oberst_Klink
It must have to do with the settings for None-Unicode or as Curtis pointed out, the font. The Umlaute display OK in my case, BUT I can't use them in the editor. Will check if the None-Unicode settings worked.
ORIGINAL: Telumar
Ralph, just a minor glitch, but in the case you missed it:
the engine still can't recognize special characters like the german 'Umlaute'. Scenarios that use them load and display them correctly, but you still can't properly enter these letters in the unit- and placename dialogue.
I'm sure it's the same with the french and spanish special characters. In the Menues/Translation it works all fine, but not in the Place- and Unit name dialogue.
I know, i can export the sce/oob to xml, enter the correct letters and re-import into the editor, but it would be nice if one wouldn't need this workaround.
I.e. here's waht a ü looks like in the unit name of a Füsilier Bn:

RE: Still... the engine won't allow to type special characters
Posted: Thu Sep 02, 2010 6:48 pm
by Telumar
The Umlaute display OK in my case, BUT I can't use them in the editor.
And that's exactly the same with me.
To make it clear, once and for all:
- Umlaute are displayed in the game. (scenarios edited with elder versions (pre 3.2) or via the .xml workaround)
- In the editor it's not possible to use them. Entering a Umlaut will produce a "?" in the unit/place name.
-> such a scenario won't display the Umlaute
Here's an example:

RE: Still... the engine won't allow to type special characters
Posted: Thu Sep 02, 2010 9:03 pm
by ralphtricky
ORIGINAL: Telumar
The Umlaute display OK in my case, BUT I can't use them in the editor.
And that's exactly the same with me.
This is going to sound really stupid, but can someone who downloaded the 3.4 178 Alpha try the Toaw 3 - Windows 98 and see if the editor allows entry of all the characters? That may help narrow down one area where it may have issues.
Thanks,
Ralph
RE: Still... the engine won't allow to type special characters
Posted: Thu Sep 02, 2010 9:11 pm
by Telumar
Tried. Doesn't work. Neither with windows- nor with bitmapped fonts.
EDIT: Ralph, the Umlaute have been a problem in 3.2 already.
RE: Still... the engine won't allow to type special characters
Posted: Fri Sep 03, 2010 2:30 pm
by ralphtricky
ORIGINAL: Telumar
Tried. Doesn't work. Neither with windows- nor with bitmapped fonts.
EDIT: Ralph, the Umlaute have been a problem in 3.2 already.
Thanks, I've got it down to look at for 3.5
RE: Still... the engine won't allow to type special characters
Posted: Fri Sep 03, 2010 2:57 pm
by Oberst_Klink
[font="Tahoma"][/font]Sorry, I didn't try to appear "thick". After a sixpack of beer and too many smokes, different versions from 3.1.0.9 to 3.3.06., using old language dll, trying various regional/language settings... The only "workaround" is, to use the editor prior 3.2. Not a good, perhaps impractible solution, because of the event editor I guess...But at least the place names, news, unit names can be done with the older version where the Umlaute still work. Just my 2p...
RE: Still... the engine won't allow to type special characters
Posted: Fri Sep 03, 2010 3:55 pm
by ralphtricky
ORIGINAL: Oberst_Klink
[font="Tahoma"][/font]Sorry, I didn't try to appear "thick". After a sixpack of beer and too many smokes, different versions from 3.1.0.9 to 3.3.06., using old language dll, trying various regional/language settings... The only "workaround" is, to use the editor prior 3.2. Not a good, perhaps impractible solution, because of the event editor I guess...But at least the place names, news, unit names can be done with the older version where the Umlaute still work. Just my 2p...
You should be able to save the game as XML, use something like noteped++ to edit it and load it back again.
I'll put a post in the scenario design folder explaining what XML and Unicode are.