Skip to content

[BUG] Strings with cyrillic don't displayed with print(f) #637

@NexiusTailer

Description

@NexiusTailer

Packed string with cyrillic don't displayed with both print and printf in the server console, while using non-formatted SendClientMessage or format (+ SendClientMessage or anything else in-game) it shows good.

Example script:

#pragma pack true

main()
{
	print("Hi, I'm an English packed non-formatted string!");
	printf("Hi, I'm an English packed formatted string %d!", 2);
	print("Привет, я запакованная неотформатированная строка на русском!");
	printf("Привет, а я запакованная отформатированная строка на русском %d!", 2);
}

Output:
image

UPD: Non-packed cyrillic strings shows the same behaviour, so, the problem is not related to packing itself.
UPD 2: Okay, it's definitely related to #583 and probably to #617 as well. I actually thought it was fixed after bt11...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions