[PR #4994] [MERGED] Detect charset and convert non UTF-8 files for display (#4950) #17582

Closed
opened 2025-11-02 14:13:28 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4994
Author: @lafriks
Created: 9/29/2018
Status: Merged
Merged: 9/30/2018
Merged by: @lunny

Base: release/v1.5Head: backport/fix/chardet_view_file


📝 Commits (2)

  • 785b17c Detect charset and convert non UTF-8 files for display (#4950)
  • 3c93495 Merge branch 'release/v1.5' into backport/fix/chardet_view_file

📊 Changes

3 files changed (+44 additions, -4 deletions)

View changed files

📝 modules/base/tool.go (+16 -1)
📝 modules/templates/helper.go (+24 -1)
📝 routers/repo/view.go (+4 -2)

📄 Description

Backport #4879


🔄 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/go-gitea/gitea/pull/4994 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 9/29/2018 **Status:** ✅ Merged **Merged:** 9/30/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `release/v1.5` ← **Head:** `backport/fix/chardet_view_file` --- ### 📝 Commits (2) - [`785b17c`](https://github.com/go-gitea/gitea/commit/785b17caeb4ced218eff020ead02c49ee4cd0509) Detect charset and convert non UTF-8 files for display (#4950) - [`3c93495`](https://github.com/go-gitea/gitea/commit/3c9349512f3285228c8dd52470489830154ff2e6) Merge branch 'release/v1.5' into backport/fix/chardet_view_file ### 📊 Changes **3 files changed** (+44 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `modules/base/tool.go` (+16 -1) 📝 `modules/templates/helper.go` (+24 -1) 📝 `routers/repo/view.go` (+4 -2) </details> ### 📄 Description Backport #4879 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 14:13:28 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17582