Open Disinterpreter opened 4 years ago
I found a strange behavior.
It works fine when I put first symbol something like !@#$%^&*()-=_
Could anybody check it out?
Judging by the video in the 1'st post, the problem must be in character conversion from char
to cell
- since both types are signed, the conversion is probably done with sign extension, so if a source symbol has a value >= 128
, then all bits in the higher 3 bytes of a cell are set to 1
(so, for example, 0x80
becomes 0xFFFFFF80
instead of 0x00000080
), which is later treated as 3 cyrillic symbols 'я'
being inserted before each source symbol ('я'
has the code FF
). At least that's the bug that most of SA-MP string functions have; kinda funny seeing the same bug being repeated here :)
disinterpreter, can u help me? do u have a fix for this issue?
disinterpreter, can u help me? do u have a fix for this issue?
If the issue is open, so nobody fixed this issue
Describe the bug Sometimes in differents part of the code I see a unicode problem.
To reproduce
Screenshots https://youtu.be/v2sRGcl1AMk