The International Simutrans Forum

PakSets and Customization => General Resources and Tools => Maps and Citylists => Topic started by: moblet on August 09, 2011, 07:13:43 AM

Title: Citylist: all large cities in Europe
Post by: moblet on August 09, 2011, 07:13:43 AM
Well, hopefully all. 448 cities from a Wikipedia list of cities with population above 100,000.
Title: Re: Citylist: all large cities in Europe
Post by: Emil Sawicki on August 11, 2011, 06:47:44 AM
Simutrans supports Unicode, so you should write eg. Székesfehérvár instead of "Szekesfehervar". Am I right?
Next: ŁódĽ instead of ?ód? (in game Łódź), Wrocław instead of Wroc?aw. I think it's no problem, if you are copying names from Wikipedia.
Title: Re: Citylist: all large cities in Europe
Post by: moblet on August 11, 2011, 07:19:25 AM
Argh! I see what you mean. I just tried saving it a couple of different ways but can't get Simutrans to read the names properly, even when they show up fine in a text editor.

The original list is here (http://en.wikipedia.org/wiki/List_of_cities_in_the_European_Union_with_more_than_100,000_inhabitants), and attached is a text file saved in Unicode format. Anyone got a method that works?
Title: Re: Citylist: all large cities in Europe
Post by: prissi on August 11, 2011, 07:39:11 PM
Simutrans only uses unicode on some laguages. Westen europe (latin1) is not using it.

For using unicode, you need to start the file by § and use a language with unicode ...
Title: Re: Citylist: all large cities in Europe
Post by: Emil Sawicki on August 12, 2011, 02:56:07 AM
QuoteFor using unicode, you need to start the file by § and use a language with unicode ...
What it means? What should I do?
Title: Re: Citylist: all large cities in Europe
Post by: An_dz on August 12, 2011, 03:26:19 AM
It means that the first character inside the .tab needs to be a §.
Ex.: Open Japanese file, jp.tab, to check.
Title: Re: Citylist: all large cities in Europe
Post by: inkelyad on August 12, 2011, 05:06:17 AM
I have a question:
Why Unicode not used for all text resources? It is not like latin1 text can't be translated to it.
Title: Re: Citylist: all large cities in Europe
Post by: prissi on August 27, 2011, 09:07:55 PM
Because simutrans was started to be developed before Unicode was properly supported by any major desktop OS.