Polish letters in sii files

Modding school: Learn it from the masters
Volvofahrer 26
Posts: 540
Joined: 22 Sep 2013 10:23
Donation rank:
Location: Vienna

23 Apr 2016 16:43

Hello Promods developers!

i would need some help to get write polish names in the sii files correctly.

You know in polish exist some special letters and therefore need a special code to be readable and implemented in ets2

See this example for the city Lodz:

Code: Select all

city_data: city.lodz
{
	city_name: "Łódź"
	short_city_name: "Łódź"
	city_name_uppercase: "ŁÓDŹ"
	city_name_sort: "Lzodz"
}
can anyone of you put a list here which consists all the codes for these special letters in polish language? :)

Many thanks in advance!
ADR-Cargo Mod

http://promods.net/viewtopic.php?f=46&t ... 629#p96629

Get a new challenge with dangerous cargos!

User avatar
MandelSoft
Lead Developer
Posts: 3835
Joined: 08 Aug 2013 10:48
Location: Delft [NL]

23 Apr 2016 17:05

What program do you use? The SII files are in UTF-8 text format. If you use ANSI, the game will crash...
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.

User avatar
Vøytek
Developer
Posts: 10276
Joined: 05 Jan 2014 19:38
Location: Prague, Czech Republic
Contact:

23 Apr 2016 17:07

That looks strange. I was creating Luboń and used "ń" in this file and it works like it should ;) Just copy Łódź from Wikipedia.
Image
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

Volvofahrer 26
Posts: 540
Joined: 22 Sep 2013 10:23
Donation rank:
Location: Vienna

23 Apr 2016 17:49

MandelSoft wrote:What program do you use? The SII files are in UTF-8 text format. If you use ANSI, the game will crash...
There's always a Message with ANSI. i will take a look if there's a UTF-8 option.
thanks for that!

and i´m using WordPad for editing
ADR-Cargo Mod

http://promods.net/viewtopic.php?f=46&t ... 629#p96629

Get a new challenge with dangerous cargos!

User avatar
Vøytek
Developer
Posts: 10276
Joined: 05 Jan 2014 19:38
Location: Prague, Czech Republic
Contact:

23 Apr 2016 20:00

Try Notepad++. Very useful tool
Image
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

Volvofahrer 26
Posts: 540
Joined: 22 Sep 2013 10:23
Donation rank:
Location: Vienna

23 Apr 2016 21:40

Thanks!
ADR-Cargo Mod

http://promods.net/viewtopic.php?f=46&t ... 629#p96629

Get a new challenge with dangerous cargos!

User avatar
realdeal350
Developer
Posts: 1746
Joined: 09 Feb 2014 02:14

24 Apr 2016 07:45

Yes use Notepad++
Spain developer
Canada developer
Regional Co-ordinator for the Roman region

Languages: English, italiano

User avatar
ScuL
Founder
Posts: 10658
Joined: 31 Jul 2013 23:51
Location: Auckland, New Zealand

24 Apr 2016 07:56

I prefer https://www.editpadpro.com/

Anyway you need to edit those files in UTF-8 mode or you will have issues.
I am Image Dutch living in Image New Zealand and I speak Image EN Image DE Image SE Image FR
Image

Volvofahrer 26
Posts: 540
Joined: 22 Sep 2013 10:23
Donation rank:
Location: Vienna

25 Apr 2016 12:25

It's working properly with notepad ++

Thanks for your help! i appreciate your support!
ADR-Cargo Mod

http://promods.net/viewtopic.php?f=46&t ... 629#p96629

Get a new challenge with dangerous cargos!

User avatar
Nathan_A_RF
Moderator
Posts: 2359
Joined: 10 Jul 2014 15:45
Donation rank:
Location: East Sussex/Southampton
Contact:

02 Jun 2017 21:22

What does the "city_name_sort" mean? Is it that important?
Grab the insecticide, I'm clearing bugs ~ Nathan_A_RF - Moderator, Beta Tester & Bug Fixer
Florence + The Machine / Fox Stevenson



Post Reply

Return to “ProMods Academy”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests