Coder Social home page Coder Social logo

tomwillow / smartcharsetconverter Goto Github PK

View Code? Open in Web Editor NEW
87.0 4.0 7.0 2.25 MB

Detect charset encoding of files and convert to UTF-8/UTF-8 BOM/GB18030 etc.

CMake 1.28% C 2.22% C++ 96.43% Batchfile 0.07%
charset charset-detection charset-detector encoding

smartcharsetconverter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

smartcharsetconverter's Issues

Locale Support

After searching for several days, I luckily found SmartCharsetConverter, which is exactly what I was looking for :D
The only bad thing about the program so far is that it is not available at least in English.

Please add support to be able to translate the program to any language.

Txt file not recognized as txt file

Hello,

First of all, thanks for your work !

I need to batch convert 2000 txt file in folder structure with other files (like jpg, mp4, etc).
UTF-8 and UTF-8 without BOM adds perfectly but I can't add ANSI/Windows-1252 files it says they're not recognised as text file.
And i can't use the "no filter" since it would add all the mp4, jpeg, etc.

When I add 1 ANSI file (manually or without filter), I have to manually set Windows-1252 and then it recognise the file and it converts fine.

Test file: https://file.io/P3H5EkM4CY2B

如何使用命令行模式

win10

直接使用图形界面无异常.

调用程序 --help ,无回显。
"智能编码集转换器 v0.7 by Tom Willow.exe" --help

./SmartCharsetConverter --help
'.' 不是内部或外部命令,也不是可运行的程序

Graphical Interface Redesign

The graphical interface I think can be improved by reorganizing all the elements in a better way.

The two most important points are:

  1. The file list is the main element, where we see the important information.
    Currently it is only visible as a secondary element of the window and we can only see a very limited amount of files without scrolling.

  2. Although options are important, they should not be the main element.
    One idea is to better organize everything on one side of the window.

This is the current GUI design

A simple mockup I made, using RisohEditor

What do you think? :)

源码是如何编译的呢

里面的功能挺实用的,我想提取其中的核心功能转成dll供其他应用调用,但源码编译流程不太清楚,可以大致说一下嘛?

项目

这个项目具体是咋运行的

转码字幕,添加带有视频文件夹,程序闪退

即便指定了后缀,但点击添加文件夹,并选中带视频文件夹后,程序就闪退了,估计是先扫描文件再过滤后缀,因文件过大出错,猜的。希望能优化一下操作逻辑。

另,是否能优化下界面,简要说明下指定后缀等支持的格式,比如是否可以指定多个后缀、间隔符等,这个好象文档中也没说明。

智能判断,是个好设计,批量转换时,确实不可能每个文件都是相同编码,一对一定向不科学。

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.