Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Encoding ConverterNew to Visual Studio Code? Get it now.
Encoding Converter

Encoding Converter

guojun

|
335 installs
| (0) | Free
UTF-8 GB2312 互换
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Encoding Converter

一个简单实用的 VS Code 插件,可在 UTF-8 和 GB2312 编码之间相互转换。

特性

  • 支持将单个文件或整个文件夹从 UTF-8 转换为 GB2312,或从 GB2312 转换为 UTF-8。
  • 与资源管理器右键菜单集成,操作便捷。

使用方法

右键菜单操作

  1. 在资源管理器中右键点击文件或文件夹。
  2. 选择 “Convert Encoding” 菜单项。
  3. 在弹出的选项中选择目标编码:UTF-8 或 GB2312。

注意事项

  • 转换可能会导致乱码,请自行评估风险,做好备份。
  • 请确保文件实际内容可被识别为 UTF-8 或 GB2312,否则转换可能失败。
  • 插件只支持 UTF-8 和 GB2312 编码之间的转换。
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft