Still... the engine won't allow to type special characters

This forum is for feedback on any Public Beta updates. Feedback and issues related to official releases should go in the Support forum. All Beta version feedback and issues should go here.

Moderators: ralphtricky, JAMiAM

Post Reply
User avatar
Telumar
Posts: 2196
Joined: Tue Jan 03, 2006 12:43 am
Location: niflheim

Still... the engine won't allow to type special characters

Post 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:

Image
Attachments
specch.jpg
specch.jpg (24.34 KiB) Viewed 454 times
User avatar
Curtis Lemay
Posts: 14543
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Still... the engine won't allow to type special characters

Post 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:

Image

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.)
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Telumar
Posts: 2196
Joined: Tue Jan 03, 2006 12:43 am
Location: niflheim

RE: Still... the engine won't allow to type special characters

Post 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..
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Still... the engine won't allow to type special characters

Post 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:

Image
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Still... the engine won't allow to type special characters

Post 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
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Oberst_Klink
Posts: 4877
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: Still... the engine won't allow to type special characters

Post 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:

Image


Image
Attachments
Umlaute_TOAW.jpg
Umlaute_TOAW.jpg (126.83 KiB) Viewed 454 times
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
User avatar
Telumar
Posts: 2196
Joined: Tue Jan 03, 2006 12:43 am
Location: niflheim

RE: Still... the engine won't allow to type special characters

Post 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:



Image
Attachments
umlaut.jpg
umlaut.jpg (193.9 KiB) Viewed 454 times
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Still... the engine won't allow to type special characters

Post 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
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
Telumar
Posts: 2196
Joined: Tue Jan 03, 2006 12:43 am
Location: niflheim

RE: Still... the engine won't allow to type special characters

Post 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.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Still... the engine won't allow to type special characters

Post 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
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Oberst_Klink
Posts: 4877
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: Still... the engine won't allow to type special characters

Post 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...
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Still... the engine won't allow to type special characters

Post 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.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Post Reply

Return to “Public Beta Feedback”