Makes raw HTML and browser datum popups UTF-8 aware (#49066)

* Makes raw HTML and browser datum popups UTF-8 aware

Admin menus specifically really shouldn't break just because you named some guy "☺s the Clown"

* Fixed new_player.dm

* Fucking filing cabinets
This commit is contained in:
MrPerson
2020-02-01 22:14:31 +01:00
committed by GitHub
parent 14cd32efd8
commit 12eecfd181
28 changed files with 55 additions and 31 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ GLOBAL_VAR_INIT(normal_ooc_colour, "#002eb8")
return
var/list/body = list()
body += "<html><head><title>Playtime for [key]</title></head><BODY><BR>Playtime:"
body += "<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'><title>Playtime for [key]</title></head><BODY><BR>Playtime:"
body += get_exp_report()
body += "</BODY></HTML>"
usr << browse(body.Join(), "window=playerplaytime[ckey];size=550x615")