Skip to content
#

fileencoding

Here is 1 public repository matching this topic...

一个MCP服务器,解决AI编码助手在Windows中文环境下读写GBK/GB18030文件时乱码的问题。读取文件时自动检测编码并转为UTF-8返回给AI,写入时自动转回原始编码,文件编码保持不变。支持UTF-8(含BOM)、GBK、GB2312、GB18030等编码。提供read、write、edit、查询编码记录等5个工具,通过PreToolUse Hook或系统提示词引导 AI 按需使用。适用于Claude Code、Cursor等支持MCP的客户端。Python 3.10+,基于mcp和charset-normalizer,pyright strict模式零错误,45个测试全部通过。

  • Updated May 24, 2026
  • Python

Improve this page

Add a description, image, and links to the fileencoding topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the fileencoding topic, visit your repo's landing page and select "manage topics."

Learn more