SillyTavern / SillyTavern

LLM Frontend for Power Users.

Home Page:https://sillytavern.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] <title> Character Card with Chinese Name Cannot Be Exported

yca321 opened this issue · comments

Environment

🪟 Windows

System

Windows

Version

1.12.0-preview

Desktop Information

Using Windows environment, download the latest version of sillytavern from git, using start.sh to startup sillytavern

Describe the problem

While exporting characters with Chinese names using png format, sillytavern could not find the character. I can still locate the png file in SillyTavern-1.12.0-preview\data\default-user\characters folder, and interaction with characters, modifying, add characters are normal. json file output seems normal and will not trigger error msg

Additional info

Character export failed TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Content-Disposition"]
at ServerResponse.setHeader (node:_http_outgoing:662:3)
at D:\SillyTavern\SillyTavern-1.12.0-preview\src\endpoints\characters.js:1100:26 {
code: 'ERR_INVALID_CHAR'
}

Please tick the boxes

#2127
This was fixed here: 530bf81