Skip to content

[Bug] Mermaid diagrams fail to render Chinese characters in chat session on IntelliJ IDEA 2026.2.1 #13611

Description

@EddieLi97

Description

When using Jetbrains Kilo Code Plugin in IntelliJ IDEA 2026.2.1, Mermaid diagrams generated in the AI chat session fail to display Chinese characters correctly. The Chinese text appears as as empty squares with a single forward slash /, while English text and diagram structures render normally.
This issue seems specific to the Mermaid rendering engine , as other UI elements in the IDE display Chinese without issues. It is likely related to font fallback configuration or encoding handling in the Mermaid renderer bundled with the plugin.

Kilo Code Plugin Version: [7.1.1]

Plugins

JetBrains Kilo Code

Kilo version

No response

Steps to reproduce

  1. Open IntelliJ IDEA 2026.2.1 and ensure the Kilo Code plugin is installed and enabled.
  2. Open the Kilo Code chat panel.
  3. Send a prompt requesting a Mermaid diagram with Chinese labels, for example:

    请用 Mermaid 画一个用户登录流程图,节点使用中文标注

  4. Wait for the AI response and observe the rendered Mermaid diagram.
  5. Result: Chinese characters in the diagram nodes/labels appears as empty squares with a single forward slash /.

Screenshot and/or share link

Image Image

Operating System

Windows11

Terminal

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions