Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible automatically detect(guess) the encoding of a file #2

Open
asmwarrior opened this issue Jul 20, 2022 · 2 comments
Open

Comments

@asmwarrior
Copy link

So that:

Set source encoding

This option can be avoid.

This has another benefit: for example, if the input file is already UTF8, we don't need to change it.

@gonejack
Copy link
Owner

Hi, @asmwarrior

Would you like to try v1.0.4 which contains auto-detection by running

go install github.com/gonejack/transcode@latest

@asmwarrior
Copy link
Author

Hi, thanks, I don't have a go build environment, so I think I will try the prebuild binaries here:

https://github.com/gonejack/transcode/releases/tag/v1.0.4

BTW: what I think the best way is something like this:
https://github.com/amrali-eg/EncodingChecker

EncodingChecker can automatically detect the encoding, and do a convert. But It is a Windows dotNet tool, and your tool is cross platform, also a command line tool is more flexible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants