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 15:14:31 -06:00
committed by GitHub
parent 14cd32efd8
commit 12eecfd181
28 changed files with 55 additions and 31 deletions

View File

@@ -25,7 +25,7 @@
to_chat(usr, "<span class='warning'>You seem to be selecting a mob that doesn't exist anymore.</span>")
return
var/body = "<html><head><title>Options for [M.key]</title></head>"
var/body = "<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'><title>Options for [M.key]</title></head>"
body += "<body>Options panel for <b>[M]</b>"
if(M.client)
body += " played by <b>[M.client]</b> "