[PR #1896] [MERGED] Encode file contents to utf-8 #1644

Closed
opened 2026-02-05 18:20:07 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1896
Author: @Boy132
Created: 11/13/2025
Status: Merged
Merged: 11/13/2025
Merged by: @Boy132

Base: mainHead: boy132/fix-edit-file-encoding


📝 Commits (4)

📊 Changes

2 files changed (+6 additions, -2 deletions)

View changed files

📝 app/Filament/Admin/Resources/Servers/Pages/EditServer.php (+3 -1)
📝 app/Filament/Server/Resources/Files/Pages/EditFiles.php (+3 -1)

📄 Description

Closes #1606

ISO-8859-1 file:
grafik

UTF-16LE file:
grafik


🔄 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/pelican-dev/panel/pull/1896 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 11/13/2025 **Status:** ✅ Merged **Merged:** 11/13/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/fix-edit-file-encoding` --- ### 📝 Commits (4) - [`21f8ca5`](https://github.com/pelican-dev/panel/commit/21f8ca5054e567fcb699ddbede77d0cf835eb9f4) encode file contents to utf-8 - [`66000e5`](https://github.com/pelican-dev/panel/commit/66000e58fb33cb0e2dc864168ab45eeb7e9f5cd9) also convert install logs - [`9fe3ec3`](https://github.com/pelican-dev/panel/commit/9fe3ec3da3f29be9832a2dbb93c5559d3df3d808) detect encoding - [`3b79be5`](https://github.com/pelican-dev/panel/commit/3b79be5739004943b0c29b9d0a9a2d6cbd707328) also detect utf-16 ### 📊 Changes **2 files changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Admin/Resources/Servers/Pages/EditServer.php` (+3 -1) 📝 `app/Filament/Server/Resources/Files/Pages/EditFiles.php` (+3 -1) </details> ### 📄 Description Closes #1606 ISO-8859-1 file: <img width="349" height="259" alt="grafik" src="https://github.com/user-attachments/assets/fae055dd-e386-4ccb-bf1d-3704be250afd" /> UTF-16LE file: <img width="1117" height="882" alt="grafik" src="https://github.com/user-attachments/assets/915d4e6b-0239-4b05-9baa-5aa8e647e00a" /> --- <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 18:20:07 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#1644