recanalyst icon indicating copy to clipboard operation
recanalyst copied to clipboard

UTF8 Encoding Issue with player->name

Open DevDefcon opened this issue 6 years ago • 1 comments

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?

DevDefcon avatar Feb 08 '19 21:02 DevDefcon

thanks for the reports, unfortunately i don't have time to look into these things right now, sorry for the trouble :(

goto-bus-stop avatar Feb 22 '19 15:02 goto-bus-stop