Skip to content

fndec-0.0.3

Latest
Compare
Choose a tag to compare
@ross-spencer ross-spencer released this 27 May 16:19
· 2 commits to master since this release

Initial solid release. Guesses the encoding of a filename based on @richardlehane's characterize Golang package.

Example output:

    Character encoding for 'directory' name: 'tests' detected: ASCII
    Character encoding for 'directory' name: 'fixtures' detected: ASCII
    Character encoding for 'directory' name: 'big5' detected: ASCII
    Character encoding for 'regular file' name: '�s�{' detected: ISO-8859
    Character encoding for 'directory' name: 'emoji' detected: ASCII
    Character encoding for 'regular file' name: 'chess-♕♖♗♘♙♚♛♜♝♞♟.txt' detected: UTF-8 Unicode
    Character encoding for 'regular file' name: 'hearts-❤💖💙💚💛💜💝.txt' detected: UTF-8 Unicode
    Character encoding for 'directory' name: 'shift_jis' detected: ASCII
    Character encoding for 'regular file' name: '�ۂ��Ղ郁�C��' detected: Non-ISO extended-ASCII
    Character encoding for 'directory' name: 'symlink' detected: ASCII
    Character encoding for 'regular file' name: 'regular' detected: ASCII
    Character encoding for 'symlink' name: 'symlink_to_regular' detected: ASCII
    Character encoding for 'directory' name: 'windows_1252' detected: ASCII
    Character encoding for 'regular file' name: 's�ster' detected: ISO-8859