How do you get a player's timezone without it getting obscured?

I know of os.date and I used it to print a player’s timezone, it worked semi-ok but after I changed my PC timezone to automatic it prints out

“������������� ����������� �����”

which I guess is it’s attempt to print out Cyrillic letters, specifically something like “Новосибирское Стандартное Время”.

Is there a way I can get a player’s timezone without it being obscured like that if they live in place with a different language?
Couldn’t find anything useful via forum’s as they all lead back to os.date("%Z")

1 Like

Try setting a textlabel’s Text property instead of printing it out. Maybe roblox just doesn’t support Unicode in the output.

In my textlabel it prints out nothing, the question marks appear in the view>output window.

Can you run

local str = -- your timezone
print(utf8.codepoint(str, 1, #str))

And try pasting them into Convert Code Points to UTF8 - Online UTF8 Tools for sanity’s sake?