https://devforum.roblox.com/t/introducing-the-ban-api-and-alt-account-detection/3039740?u=7yooso
Description:
When using the Players.BanAsync
function to write a ban reason in Arabic, the text appears garbled and unreadable instead of displaying correctly. This issue occurs only with Arabic text, while it works fine with English text.
Location:
This issue occurs in all instances where the Players.BanAsync
function is used within our Roblox experience.
Time:
This error started appearing on June 26, 2024, at 15:00 GMT.
Images:
Reproduction Steps:
- Open Roblox Studio.
- Create a new experience or open an existing one.
- Use the following script to call the
Players.BanAsync
function with the ban reason written in Arabic:local Players = game:GetService("Players") local player = Players:GetPlayerByUserId(1) local config = { UserIds = {player.UserId}, Duration = 7 * 86400, DisplayReason = "لقد انتهكت إرشادات المجتمع", PrivateReason = "ملاحظة داخلية للسجل", ExcludeAltAccounts = false, ApplyToUniverse = true } local success, err = pcall(function() return Players:BanAsync(config) end)
- Publish the experience and run it through the client.
- Note the message that appears when the banned player tries to re-enter the experience.
Expected Description:
The Arabic text in the ban message should be displayed correctly and clearly as written in DisplayReason
.
Current Description:
The Arabic text appears garbled and unreadable.
Reproduction Files:
rbxl (46.2 KB)