Page 2 of 2

Posted: 04 Nov 2006 08:28
by peter1138
DaleStan wrote:Is there any way I can detect that the OpenTTD in question has UTF-8 support? If so, I'll check for that too, and load the strings if either the GRF or libfreetype is available
Hmm, I guess we'd have to add, or modify, an action 7 variable. What's more useful, checking individual unicode locations are defined, or just a general "we can use any unicode character" variable?

Posted: 05 Nov 2006 00:20
by DaleStan
Well, I expected to be checking var 9D first, but it seems to me that one of the var 85 bits would also work.

As an NFO coder, a bit somewhere that means "don't load these strings if they contain characters whose glyphs aren't available" would be the easiest, but it may not be feasible.