The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: m.vanderwulp on February 14, 2019, 12:40:04 PM

Title: not UTF-8 character in filename in zip
Post by: m.vanderwulp on February 14, 2019, 12:40:04 PM
I try to update the package for OpenSuse at
https://build.opensuse.org/package/show/games/simutrans-pak128-britain

The build process gives the following error (see below).
This is caused by 4 files in the distributed zip file that contain a non-UTF-8 character.

Is it possible to rename these files to solve this problem for the next release?
Thanks,
Michiel


[  165s] RPMLINT report:
[  165s] ===============
[  176s] simutrans-pak128-britain.noarch: W: filename-not-utf8 /usr/share/simutrans/pak128.Britain/building.RES_A_1950�_01_24.pak
[  176s] simutrans-pak128-britain.noarch: W: filename-not-utf8 /usr/share/simutrans/pak128.Britain/building.RES_A_1950�_01_28.pak
[  176s] simutrans-pak128-britain.noarch: W: filename-not-utf8 /usr/share/simutrans/pak128.Britain/building.RES_A_1950�_01_32.pak
[  176s] simutrans-pak128-britain.noarch: W: filename-not-utf8 /usr/share/simutrans/pak128.Britain/building.RES_A_1950�_01_36.pak
[  176s] The character encoding of the name of this file is not UTF-8. Rename it.

Title: Re: not UTF-8 character in filename in zip
Post by: prissi on May 10, 2020, 01:32:50 PM
Indeed, there was a straight 0xad character in the name. Remvoed in r2037
Title: Re: not UTF-8 character in filename in zip
Post by: Mariculous on May 10, 2020, 04:05:35 PM
Oh, it's you who put simutrans into the games repository?
Although I never installed it from the games repo, I'd like to thank you for this work.
Title: Re: not UTF-8 character in filename in zip
Post by: prissi on May 11, 2020, 02:49:32 PM
I did nothing, but usually divers repos take it from sourceforge, so these changes will arrive ultimatively there.
Title: Re: not UTF-8 character in filename in zip
Post by: Mariculous on May 11, 2020, 03:31:45 PM
Well that was addressed to m.vanderwulp.

Anyways, I also thank you for all the work on simutrans.