Skip to content

Conversation

JamongSS
Copy link

@JamongSS JamongSS commented Aug 31, 2025

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