Skip to content

While using Windows 1250 or 1252 encoding a bug occurs with texts that contains unicode characters #617

Closed

Description

@Mortyyka

Description

While using encoding Windows 1250 or Windows 1252 this bug occours.

How to re-produce this bug

Compile your script using Windows 1250 or Windows 1252, print out a text that contains unicode charaters in this example it was: árvíztűrő tükörfúrógép.

Relevant log output

Console Output (Using Windows 1250 or Windows 1252)
Image #1

The same thing but in a text:

[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:
[Info] [OMP - Test]: Testing unicode characters:

Note that in the server log it shows the whole text, including the unicode characters.

This is how the original message should look like:

[Info] [OMP - Test]: Testing unicode characters: árvíztűrő tükörfúrógép on OMP - RC2, text without unicode: arvizturo tukorfurogep

open.mp server version

OMP RC2 - Latest Release

Operating system or distribution

Windows 10

Contact information

Mortyyka キング#1972

Additional information

While using UTF-8 it works however, ingame the text becomes scuffed, example below.

[23:15:51] Testing unicode characters: árvíztűrő tükörfúrógép on OMP - RC2, text without unicode: arvizturo tukorfurogep

Activity

  1. Mortyyka commented on Jan 21, 2023

    @Mortyyka
    Author

    I would also like to add this, this is the difference between b10 and RC2.
    https://boobies.icu/vajxC4B7

  2. AmyrAhmady commented on Jun 12, 2023

    @AmyrAhmady
    Member

    Fixed in next build.

  3. added
    bug
    on Jun 12, 2023
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