Skip to content

UTF8 Encoding Issue with player->name #69

@DevDefcon

Description

@DevDefcon

There is a problem with encoding UTF-8 Chars.
https://www.bilder-upload.eu/bild-04c7ab-1549662488.png.html
For example in my pic there is a player named cremeh?tchen(normaly cremehütchen). For default it is in ISO-8859-1 but other ones are in UTF8.
$enc = mb_detect_encoding($player->name, "UTF-8,ISO-8859-1"); printf($enc); printf(iconv($enc, "UTF-8", $player->name));

with iconnv i can change it as you can already see in the pic.

Why is that happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions