Meet problem..

2 replies [Last post]
fireattack
User offline. Last seen 14 years 49 weeks ago. Offline
Joined: 2009-04-18
Posts: 2

When I start game, it showes message

---------------
Last two engine messages:
Getting game config...
Load locale: numbers should be two-digit: ; Simplifed Chinese locale
---------------

Then nothing happened, the game winodow just appear (the menu one is still alive).
What should I do Sad Smiley ?

fireattack
User offline. Last seen 14 years 49 weeks ago. Offline
Joined: 2009-04-18
Posts: 2

I found something.

It must be something wrong with locale file.

When I del the zh_cn.txt & hedgewars_zh_CN.qm, that will be OK;
Or I just change zh_cn.txt's encode from UTF-8 to ANSI, it runs too, but show me the garbled code.

So I think the program cannot understand the number like "00:00" written in UTF-8... It interpretative them to something like ""; when I change file to ANSI, it can understand the number, but can't understand Chinese character in this time..

BTW, My OS is winXP sp3.

unC0Rr
unC0Rr's picture
User offline. Last seen 1 year 1 week ago. Offline
Joined: 2006-11-27
Posts: 576

Seems like filewas edited with notepad.exe, which adds those two strange symbols as first characters in file. It's special mark, that should be in UTF-8 files, but notepad adds them. Engine doesn't work with such files.

Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]