Skip to content

Commit

Permalink
[MIRROR] Add utf8 support for state laws button (#2125) (#3011)
Browse files Browse the repository at this point in the history
* Add utf8 support for state laws button (#82789)

## About The Pull Request
Adds UTF-8 support for state laws HTML page. Now it supports more than
just English

## Why It's Good For The Game
Support for other symbols, such as cyrillic
![Screenshot 2024-04-21
015220](https://github.com/tgstation/tgstation/assets/31931237/57ca6d56-14da-4f10-a9b6-63b541c5eb5b)

* Add utf8 support for state laws button

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: larentoun <[email protected]>
  • Loading branch information
3 people authored Apr 22, 2024
1 parent 22f7742 commit 546fa72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/silicon/silicon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
///Gives you a link-driven interface for deciding what laws the statelaws() proc will share with the crew.
/mob/living/silicon/proc/checklaws()
laws_sanity_check()
var/list = "<b>Which laws do you want to include when stating them for the crew?</b><br><br>"
var/list = "<meta charset='UTF-8'><b>Which laws do you want to include when stating them for the crew?</b><br><br>"

var/law_display = "Yes"
if (laws.zeroth)
Expand Down

0 comments on commit 546fa72

Please sign in to comment.