From 4def624b444e5c8e751f5403f8fb7001a61f9b29 Mon Sep 17 00:00:00 2001 From: Gaxeer <44334376+Gaxeer@users.noreply.github.com> Date: Wed, 18 Oct 2023 21:37:27 +0300 Subject: [PATCH] fix: book charset (#483) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Что этот PR делает Контент книг на кириллице отображается корректно fixes #475 ## Почему это хорошо для игры Контент книг на кириллице отображается корректно вместо кракозябр - это теперь можно читать ## Тестирование Зашел в игру, написал в книгу русскоязычный текст - всё читается ## Changelog :cl: fix: Текст кириллицей отображется корректно в книгах /:cl: --- code/modules/library/book.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/library/book.dm b/code/modules/library/book.dm index a796ad9773aa..09dbb7de3323 100644 --- a/code/modules/library/book.dm +++ b/code/modules/library/book.dm @@ -159,7 +159,7 @@ * buttons and then builds the rest of the UI based on what page the player is turned to. */ /obj/item/book/proc/show_content(mob/user) - var/dat = "" + var/dat = "" //First, we're going to choose/generate our header buttons for switching pages and store it in var/dat var/header_left = "
" var/header_right = "
"