logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Detect File Encoding - Convert Text Encodings | Online Free DevTools by Hexmos

Detect file encoding with enca and convert text files to different encodings easily. Identify encoding and convert for cross-platform compatibility. Free online tool, no registration required.

enca

Detect and convert the encoding of text files. More information: https://github.com/nijel/enca.

  • Detect file(s) encoding according to the system’s locale:

enca {{path/to/file1 path/to/file2 ...}}

  • Detect file(s) encoding specifying a language in the POSIX/C locale format (e.g. zh_CN, en_US):

enca {{[-L|--language]}} {{language}} {{path/to/file1 path/to/file2 ...}}

  • Convert file(s) to a specific encoding:

enca {{[-L|--language]}} {{language}} {{[-x|--convert-to]}} {{to_encoding}} {{path/to/file1 path/to/file2 ...}}

  • Create a copy of an existing file using a different encoding:

enca {{[-L|--language]}} {{language}} {{[-x|--convert-to]}} {{to_encoding}} < {{original_file}} > {{new_file}}

return

See Also