News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

not UTF-8 character in filename in zip

Started by m.vanderwulp, February 14, 2019, 12:40:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

m.vanderwulp

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.


prissi

Indeed, there was a straight 0xad character in the name. Remvoed in r2037

Sirius

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.

prissi

I did nothing, but usually divers repos take it from sourceforge, so these changes will arrive ultimatively there.

Sirius

Well that was addressed to m.vanderwulp.

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