The International Simutrans Forum

 

Author Topic: not UTF-8 character in filename in zip  (Read 2072 times)

0 Members and 1 Guest are viewing this topic.

Offline m.vanderwulp

  • *
  • Posts: 11
  • Languages: EN, NL
not UTF-8 character in filename in zip
« 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.


Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10828
  • Languages: De,EN,JP
Re: not UTF-8 character in filename in zip
« Reply #1 on: May 10, 2020, 01:32:50 PM »
Indeed, there was a straight 0xad character in the name. Remvoed in r2037

Offline Freahk

  • Devotee
  • *
  • Posts: 1587
  • Languages: DE, EN
Re: not UTF-8 character in filename in zip
« Reply #2 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10828
  • Languages: De,EN,JP
Re: not UTF-8 character in filename in zip
« Reply #3 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.

Offline Freahk

  • Devotee
  • *
  • Posts: 1587
  • Languages: DE, EN
Re: not UTF-8 character in filename in zip
« Reply #4 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.