mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #197] [MERGED] feat: webui editing support multiple encodings #513
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/197
Author: @sigoden
Created: 3/17/2023
Status: ✅ Merged
Merged: 3/17/2023
Merged by: @sigoden
Base:
main← Head:feat-editor📝 Commits (1)
8b37371feat: webui editing support multiple encodings📊 Changes
1 file changed (+20 additions, -2 deletions)
View changed files
📝
assets/index.js(+20 -2)📄 Description
If you open a file with non-UTF8 encoding using the edit button, it may display as garbled text.
This PR attempts to convert the file into UTF8 encoding for editing.
Supported encoding: https://developer.mozilla.org/en-US/docs/Web/API/Encoding_API/Encodings
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.