You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, string length counts bytes but not characters. That means that unicode characters count 2 bytes instead of one. In scripts you can change this behavior with the forceUnicode command. Affected commands are:
So, every time we use one of these commands and the affected string could be a user generated unicode character we should take account for that. I have already done that at one place in PR #402 for the function fnc_terminal_removeCharFromInput.sqf
The text was updated successfully, but these errors were encountered:
Unfortunately, string length counts bytes but not characters. That means that unicode characters count 2 bytes instead of one. In scripts you can change this behavior with the forceUnicode command. Affected commands are:
So, every time we use one of these commands and the affected string could be a user generated unicode character we should take account for that. I have already done that at one place in PR #402 for the function
fnc_terminal_removeCharFromInput.sqf
The text was updated successfully, but these errors were encountered: