Wargus / wargus

Importer and scripts for Warcraft II: Tides of Darkness, the expansion Beyond the Dark Portal, and Aleonas Tales
GNU General Public License v2.0
355 stars 55 forks source link

Can't convert UTF8 char to Ascii #420

Closed jmunin closed 2 years ago

jmunin commented 2 years ago

Describe the bug Using the Spanish version of the game (Battle.NET edition), on the introductory screen to each phase of the game, the text in Spanish is not displayed with their corresponding accented vowels (á,é,í,ó,ú, Á,É,Í,Ó,Ú, interrogation closing instead, see attached image), and in the terminal from which I execute Wargus, it shows the error messages indicated.

To Reproduce Steps to reproduce the behavior:

  1. When i run wargus in linux terminal.
  2. See error in terminal: Can't convert UTF8 char to Ascii : '�' d=128 (0x0080) Can't convert UTF8 char to Ascii : '�' d=129 (0x0081) Can't convert UTF8 char to Ascii : '�' d=130 (0x0082) Can't convert UTF8 char to Ascii : '�' d=132 (0x0084)

Desktop (please complete the following information):

timfel commented 2 years ago

I have a branch open already to fix this.

jmunin commented 2 years ago

ok, thanks for your work!

timfel commented 2 years ago

Fixed on master