Skip to content

[BUG]: Russian language support in the server console #583

Closed

Description

@m1ronzy

Description


image

open.mp server version

build11

Operating system or distribution

windows10

Contact information

M1RoN#6464

Activity

  1. added
    bug
    on Dec 27, 2022
  2. AmyrAhmady commented on Dec 27, 2022

    @AmyrAhmady
    Member

    Can you give us an example please, from pawn side to run and reproduce this issue

  3. m1ronzy commented on Dec 27, 2022

    @m1ronzy
    Author

    print("[test]: Тестовое сообщение");

    Encoding of the script: Cyrillic (Windows 1251)

  4. punkochel commented on Dec 31, 2022

    @punkochel

    At the same time, everything is writing in the log.txt file as it should. The problem is directly with the console.

  5. BigETI commented on Jan 2, 2023

    @BigETI
    Member

    Set the console text encoding to the desired encoding or just compile your script with UTF-8 encoding.

  6. NexiusTailer commented on Jan 16, 2023

    @NexiusTailer
    Contributor

    Set the console text encoding to the desired encoding or just compile your script with UTF-8 encoding.

    Any pawn script which contains cyrillic must be compiled in Windows-1251. Any other encoding including UTF-8 will produce ?????? or other artifacts in the running server. The problem is in omp server console and the way how it works with pawn script's outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions