colobot / colobot

Source code of open-source Colobot: Gold Edition project developed by Epsitec and TerranovaTeam
http://colobot.info/
GNU General Public License v3.0
1.12k stars 191 forks source link

Game crash on new player screen #1469

Open zvladru opened 3 years ago

zvladru commented 3 years ago

Have russian lang, when i start the game, and on "new player screen" trying to type new player name with eng letters game crash with error:

 ---------------------------
Unhandled exception occurred!
---------------------------
Unhandled exception occurred!
==============================
Type: class std::invalid_argument
Message: Unexpected UTF-8 continuation byte
==============================

This is usually caused by a bug. Please report this on http://github.com/colobot/colobot/issues
including information on what you were doing before this happened and all the information below.
==============================
You are running official 0.2.0-alpha build.

The game was in phase PHASE_PLAYER_SELECT (ID=3)
Last started level was: category=exercises chap=0 rank=0
==============================

Sorry for inconvenience!
---------------------------
ОК   
---------------------------

If i'm trying to type russian letters it type to some "?" character for every letter.

zvladru commented 2 years ago

Also its happening only when i try replace all selected text "Игрок" (Player) with English letter, or delete every Russian letter and type in empty text box any English letter

IPcorps commented 2 years ago

From what I understand, some bugs can take years to fix and may never be fixed, and that's something you have to live with. Segmentation fault as of 2018 still hasn't been fixed. The last 2 releases I can see it, so I'm just playing Screeps.

Anton-V-K commented 2 years ago

This issue can't be reproduced with native build of dev branch for Windows - it is either fixed, or dependent on build options.

hexagonrecursion commented 1 month ago