Code Monkey home page Code Monkey logo

vscode-gbktoutf8's Introduction

GBKtoUTF8

a vscode extension to convert gbk to utf8

Installation

press fn + f1 or cmd + shift + p:

ext install gbktoutf8

vscode-gbktoutf8's People

Contributors

huanz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vscode-gbktoutf8's Issues

加上批量转换

能不能加上批量转换的功能。

现在需要将整个目录一次性进行转移

中文乱码

Issue Type: Bug

如果先打开vscode,再从里面打开代码,中文不会乱码;
如果直接双击代码文件打开,在vscode中会乱码,而且会把原来的编码修改,导致用其他编辑器打开也会乱码

Extension version: 0.0.2
VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.17763

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.84GB (4.31GB free)
Process Argv
Screen Reader no
VM 50%

能否修改为猜测编码并以正确的编码打开?

用了这个插件,会把文件转成utf8,但有一些文件是不能转的,比如xml文件,文件头写明了GB2312,转成utf8虽然显示对了,但xml文件本身反而是错了,编码和xml头的声明冲突。
vs code本身猜测编码算法有问题,有一部分gb2312编码文件给认成windows1252编码了。

建议去除保存事件

你好,建议下个版本能去除保存事件,每次打开gbk文件都会提示保存,但是保存的话就破坏了原来的编码了。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.