[PR #63] [MERGED] Update PageRepo.php #5591

Closed
opened 2026-02-05 10:11:46 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/63
Author: @AkibaWolf
Created: 2/20/2016
Status: Merged
Merged: 2/20/2016
Merged by: @ssddanbrown

Base: masterHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 app/Repos/PageRepo.php (+2 -2)

📄 Description

Fix encoding problem.

By default DOMDocument::loadHTML treats a string as being encoded with ISO-8859-1. This causes a problem with saving cyrillic pages' text that becomes completely unreadable (like Проверка instead of normal symbols).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/63 **Author:** [@AkibaWolf](https://github.com/AkibaWolf) **Created:** 2/20/2016 **Status:** ✅ Merged **Merged:** 2/20/2016 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`c2369a7`](https://github.com/BookStackApp/BookStack/commit/c2369a740dff0655ed87df228a787d9ea839d080) Update PageRepo.php ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `app/Repos/PageRepo.php` (+2 -2) </details> ### 📄 Description Fix encoding problem. By default DOMDocument::loadHTML treats a string as being encoded with ISO-8859-1. This causes a problem with saving cyrillic pages' text that becomes completely unreadable (like Проверка instead of normal symbols). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:11:46 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5591