Author Topic: Citylist: all large cities in Europe  (Read 3891 times)

0 Members and 1 Guest are viewing this topic.

Offline moblet

Citylist: all large cities in Europe
« on: August 09, 2011, 07:13:43 AM »
Well, hopefully all. 448 cities from a Wikipedia list of cities with population above 100,000.
« Last Edit: August 09, 2011, 07:54:20 AM by moblet »

Offline Emil Sawicki

  • *
  • Posts: 177
  • Total likes: 5
  • Helpful: 1
  • pak128 player
  • Languages: CZ, EN, NO, PL
Re: Citylist: all large cities in Europe
« Reply #1 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.
Simutrans 120.2.2, Windows 10/Ubuntu 16.04
facebook.com/SimutransPL
My screenshot and video thread


Offline moblet

Re: Citylist: all large cities in Europe
« Reply #2 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, and attached is a text file saved in Unicode format. Anyone got a method that works?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8830
  • Total likes: 324
  • Helpful: 229
  • Languages: De,EN,JP
Re: Citylist: all large cities in Europe
« Reply #3 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 ...

Offline Emil Sawicki

  • *
  • Posts: 177
  • Total likes: 5
  • Helpful: 1
  • pak128 player
  • Languages: CZ, EN, NO, PL
Re: Citylist: all large cities in Europe
« Reply #4 on: August 12, 2011, 02:56:07 AM »
Quote
For using unicode, you need to start the file by § and use a language with unicode ...
What it means? What should I do?
Simutrans 120.2.2, Windows 10/Ubuntu 16.04
facebook.com/SimutransPL
My screenshot and video thread


Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2594
  • Total likes: 290
  • Helpful: 89
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Citylist: all large cities in Europe
« Reply #5 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.

Offline inkelyad

  • Devotees (Inactive)
  • *
  • Posts: 482
  • Total likes: 1
  • Helpful: 2
  • Languages: EN, RU
Re: Citylist: all large cities in Europe
« Reply #6 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8830
  • Total likes: 324
  • Helpful: 229
  • Languages: De,EN,JP
Re: Citylist: all large cities in Europe
« Reply #7 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.