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 19:04:10 +03:00
committed by GitHub
parent 03f46e4292
commit 3815b45120
10 changed files with 68 additions and 13 deletions
+1 -1
View File
@@ -176,7 +176,7 @@
dat += "<tr><td colspan='4' bgcolor='white'>&nbsp</td></tr>"
dat += "</table>"
usr << browse(dat,"window=lookupnotes;size=900x500")
show_browser(usr, dat, "window=lookupnotes;size=900x500")
/proc/show_player_info_discord(var/ckey)
if (!ckey)