Ayuto / EventScripts-Emulator

A Source.Python plugin that is able to run EventScripts addons.
16 stars 9 forks source link

Cyrillic #15

Closed kifchan closed 6 years ago

kifchan commented 6 years ago

i cant load some es scripts with russian charracters example es_test.txt

error: [console] es_load: 'charmap' codec can't decode byte 0x98 in position 11: character maps to undefined

Ayuto commented 6 years ago

Your file works fine for me. Are you sure it happens with exactly that file? Also, what's the output of sp info?

Though, on my machine it can't print that character (it's empty), so I will mark this as a bug. Nevertheless, please answer my two questions above.

kifchan commented 6 years ago

sp info

Date : 2018-01-22 21:22:34.955855 OS : Windows-10-10.0.14393 Game : csgo SP version : 639 Github commit : 8681755bb6f51bc3c46f19983ac0e0f428f9c7be Server plugins: 00: Metamod:Source 1.10.7-dev 01: Source.Python, (C) 2012-2018, Source.Python Team. SP plugins: 00: es_emulator, https://github.com/Ayuto/EventScripts-Emulator 01: wcs

https://puu.sh/z7nmk.png

exactly that file (or any other, if i add this letter), and that letter "И" and only upper case, with "и" or other letters like "ЖжФфёЁ" - no errors 1novice.zip

kifchan commented 6 years ago

you saw? problem with only one letter 0_o

lphsqr commented 6 years ago

Fix pls.