Unicode support in browser (#18668)

* feat(macros): add meta charset patcher

Added a proc that will add a meta tag to browser
content with the encoding set to Unicode.

Ported from NebulaSS13/Nebula

* feat: replace `ISO-8859-1` with `utf-8`

* feat(newscaster): use `show_browser` macro

* feat(admin): use `show_browser` macro

* feat(player_notes_sql): use `show_browser` macro

* feat(warning): use `show_browser` macro

* feat(paper_bundle): use `show_browser` macro

* feat(photography): use `show_browser` macro

* chore: add changelog for browser changes

* fix(macros): recover the deleted macro

* feat(macro): convert place_meta_charset to macro

* style(macros): use spaces between macross and body

* Apply suggestions from code review

Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
Signed-off-by: SidVeld <sidveld@gmail.com>

* fix(macros): change the position of the bracket

---------

Signed-off-by: SidVeld <sidveld@gmail.com>
Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
SidVeld
2024-03-24 16:04:10 +00:00
committed by GitHub
co-authored by Werner
parent 03f46e4292
commit 3815b45120
10 changed files with 68 additions and 13 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ var/global/enabled_spooking = 0
dat += "<A href='?src=\ref[src];add_player_info=[key]'>Add Comment</A><br>"
dat += "</body></html>"
usr << browse(dat, "window=adminplayerinfo;size=480x480")
show_browser(usr, dat, "window=adminplayerinfo;size=480x480")
else
show_notes_sql(key)