A character card is a small JSON file that describes one fictional character for a chat front end such as SillyTavern: a name, a description, an opening message and a few lines of sample dialogue. Whether that sample dialogue reaches the model can depend on a single keystroke. In SillyTavern 1.19.0's chat-completion mode, an example line counts as a message only if it starts with the user's or the character's exact name followed by an ASCII colon. We ran SillyTavern's own parsing code over one two-line Chinese exchange. With : it gave 2 of 2 messages. With the full-width : a Chinese input method types by default, it gave 0 of 2.
Fourteen required fields sit in one JSON object
The Character Card V2 specification was approved on 17 May 2023; we read it at commit 8083fb3 of 22 June 2023. A V2 card sets spec to chara_card_v2 and spec_version to 2.0, and its data object carries fourteen required keys, from name through mes_example and system_prompt to an extensions object that defaults to empty. A lorebook is optional. A card's system_prompt replaces the app's own, with an {{original}} placeholder that puts the app's prompt back. Creator notes "MUST NOT be used inside prompts", and tags, creator and version are kept out of prompt engineering too.
Character Card V3, MIT-licensed and marked a "Living Standard", was read at commit f3a86af of 20 July 2024. It keeps the V2 fields, changes the strings to chara_card_v3 and 3.0, and adds one required field, group_only_greetings, which may be an empty list. Its multilingual creator notes are keyed by ISO 639-1 code "without region code", so Simplified and Traditional Chinese notes share one key. Neither spec sets a character, byte or token limit on any text field.
Base64 carries the Chinese text through a PNG text chunk
Most cards travel as PNG images. V3 puts the JSON in a tEXt chunk named ccv3 with "utf-8 -> base64" encoding; apps may fall back to the older chara chunk. The W3C's PNG Third Edition, a Recommendation of 24 June 2025, interprets tEXt as Latin-1. Base64 is plain ASCII, so the chunk holds no Chinese at all; the UTF-8 sits inside the encoding. Decode it as Latin-1 instead and an English card still reads, while the name 老船长马克 (lǎo chuánzhǎng Mǎkè, "old captain Mark") turns into unreadable Latin-1 letters.
We wrote two small cards into a blank 69-byte PNG with SillyTavern's own writer, which stores both chara and ccv3. Its ccv3 copy is the same object with the two version strings changed, and carries no group_only_greetings.
| Card | JSON characters | UTF-8 bytes | Each chunk | PNG after |
|---|---|---|---|---|
| English | 1,283 | 1,299 | 1,732 | 3,568 B |
| Simplified Chinese | 741 | 1,205 | 1,608 | 3,320 B |
Both read back intact. Each Han character added to the name grew the file by exactly 8 bytes: three UTF-8 bytes become four base64 characters, stored twice.
A plain Pillow re-save drops the card from the image
The card data is stored in these text chunks and is lost if they are. With Pillow 11.3.0 on Python 3.9.6, a plain save() of the Chinese card kept 0 of its 2 chunks, and so did resizing first. Passing a copied PngInfo kept 2 of 2; converting to WebP kept none. Which operations drop which metadata is covered in which image operations strip metadata.
SillyTavern assembles the fields into the prompt in a default order
In chat-completion mode, SillyTavern 1.19.0's default order starts with the main system prompt, which a card's system_prompt replaces, then world info, the user's persona, the character description, personality, scenario and more world info. The example dialogue follows, then the chat history, which opens with first_mes, and post-history instructions last. Users can change this order in the Prompt Manager. Text completion builds a story string instead, and all 34 context presets SillyTavern ships put the persona last. Creator notes, tags, creator and character version are never sent by default.
Example dialogue is dropped at a full-width colon
SillyTavern's Character Design page asks for a <START> tag before each example and shows the prefixes as {{char}}: and {{user}}:. We found no page or issue saying what happens to a line written with another colon. The parser matches lines starting with the user's display name (by default User) or the card's name, plus an ASCII colon. We ran it with the card name 马克 (Mǎkè).
| How the two lines are labelled | Messages |
|---|---|
{{user}}: / {{char}}: | 2 |
{{USER}}: / {{Char}}: | 2 |
User: / 马克: | 2 |
{{user}}: / {{char}}: | 0 |
User: / 马克: | 0 |
用户: / 马克: | 0 |
{{user}}∶ (ratio colon, U+2236) | 0 |
用户: / 马克: | 1 |
That is eight of the twelve variants we ran. All six with an ASCII colon and matching names gave every line as a message; all four full-width variants gave 0 of 2, as did the ratio colon. In the last row 用户 (yònghù, "user") is not the display name, so that line merged into the character's message. In text-completion mode, and in instruct mode when parsing finds nothing, examples pass through as raw text; we read that code but did not run it.
Until 18 November 2026 our Chinese roleplay prompt builder copied sample dialogue into mes_example as typed. Its example inputs gave cards that SillyTavern's validator accepted as V2 in English, Simplified and Traditional Chinese, and 0 of 4 sample lines became messages in each. The English labels, You: and Mark:, matched neither name; the Chinese ones, 用户: and 马克:, also used the full-width colon. The revision made that day opens the block with <START> and rewrites each recognised speaker as {{user}}: or {{char}}:, normalising : and ∶ and matching part of a name, such as 马克 in 老船长马克. The rewrite happens only in the downloaded .json file; the page's example text and the copied plain prompt keep the reader's labels. On the Simplified Chinese page, after 填入示例 ("fill in the example"), the line under the download buttons reports 4 of 4 lines written that way. The fix works: the builder's V2 and V3 files now give 4 of 4 example messages in all three languages.
Long Chinese names are cut to 85 characters on import
SillyTavern's import code, which we read but did not run, passes the card name through sanitize-filename 1.6.3. That library, which we did run, keeps at most 255 UTF-8 bytes: 85 Han characters kept 85, and 100 were cut to 85. It also drops a slash, so 林夏/Lin Xia becomes 林夏Lin Xia. It is a filename rule, and the only length cut we found.
Questions this test leaves open
SillyTavern 1.19.0, released on 15 September 2026 Singapore time at tag commit 7e8663c, is AGPL-3.0. We ran its parser and card writer from source in Node 26.13.0, stubbed for a chat-completion API with the user name User, and copied none of it. RisuAI, Agnai and other front ends were not tested, and nothing here measures how a model behaves with or without example dialogue.
Go further
Relevant tools
More from AI & ML