Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix compat.py: tail -f garbled output when log has Korean characters - #1696

#1696
Open
Jamongss wants to merge 2 commits into
Supervisor:mainSupervisor/supervisor:mainfrom
Jamongss:fix-compat-pyJamongss/supervisor_jamong:fix-compat-pyCopy head branch name to clipboard
Open

Fix compat.py: tail -f garbled output when log has Korean characters#1696
Jamongss wants to merge 2 commits into
Supervisor:mainSupervisor/supervisor:mainfrom
Jamongss:fix-compat-pyJamongss/supervisor_jamong:fix-compat-pyCopy head branch name to clipboard

Conversation

@Jamongss

@Jamongss Jamongss commented Aug 31, 2025

Copy link
Copy Markdown

Changes Made

  • Specific modifications made to compat.py
  • 54 line: return s.encode(encoding, errors='replace')
  • 60 line: return s.decode(encoding, errors='replace')

Reason for Changes

  • tail -f garbled output when log has Korean characters

Testing

supervisor> tail -f print_time
==> Press Ctrl-C to exit <==
��간: 2025. 09. 01. 00:27:25 KST
현재 시간: 2025. 09. 01. 00:27:25 KST
현재 시간: 2025. 09. 01. 00:27:25 KST
현재 시간: 2025. 09. 01. 00:27:26 KST

@Jamongss Jamongss changed the title Fix compat.py: tail -f korean broken error exception Fix compat.py: tail -f garbled output when log has Korean characters Aug 31, 2025
Remove Korean comments from compat.py to fix Python 2.7 SyntaxError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.