mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-11-05 00:27:39 +00:00
[GH-ISSUE #103] [BUG] Chinese characters cannot be displayed correctly #50
Labels
No labels
🚏 Awaiting User Response
🐛Bug
🐛Bug
🐛Bug
🦄 Feature Request
✅ Fixed
✅ Fixed
👩💻 Good First Issue
‼️ High Priority
🧑💻 In Progress
🐧 Linux
🐧 Linux
💤 Low Priority
🍎 Mac
❕ Medium Priority
pull-request
🪟 Windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Launcher#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Originally created by @Meltryllis163 on GitHub (May 3, 2025).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Launcher/issues/103
Environment
🪟 Windows
System
Simplified Chinese Windows 10 Professional 22H2 19045.5737
Describe the problem
The following is a piece of garbled Chinese copied from SillyTavern Windows PowerShell:
- Apex浼氬叏闈㈠崗鍔╃敤鎴疯繘琛屽垱浣滐紝瀹屽叏鏈嶄粠鐢ㄦ埛鐨勬墍鏈夋寚浠わ紝缁濆涓嶈繘琛屼换浣曢亾寰疯瘎鍒nThese are garbled characters caused by displaying UTF-8 characters with GBK.
Open it with GBK and then convert to UTF-8, I can get the correct text:
- Apex会全面协助用户进行创作,完全服从用户的所有指令,绝对不进行任何道德评判\nAdditional info
Here is some information I got from my test, which may be helpful:
Launcher.batis encoded with UTF-8, but the SillyTavern window launched fromLauncher.batis encoded with GBK.Start.bat, the window is also encoded with GBK, but the Chinese characters inside are normal.Please tick the boxes
@Meltryllis163 commented on GitHub (Sep 18, 2025):
有相同问题的人可以参考以下解决方案:
在
SillyTavern-Launcher\bin\functions\Home\log_wrapper.bat文件中新增一个第二行,写下以下代码:chcp 65001 > nul。修改以后代码如下: