busyloop / lolcat

Rainbows and unicorns!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No output with UTF-16 files

Hk1020 opened this issue · comments

For a file which file reports as : Little-endian UTF-16 Unicode text, with CRLF line terminators lolcat produces no output at all. Any setting I need to tweak?

commented

Encoding problems are unfortunately notoriously difficult to reproduce and fix.
lolcat uses standard ruby I/O primitives, meaning if your shell and terminal
are configured correctly then it should normally deal with encoding transparently.

If you can provide a full test-case (test-file, output of locale, env,
ruby --version and lolcat --version as well as what terminal emulator
you're using) then we may be able to figure something out.

commented

I have the same Problem and here is the test-file you asked for. @m-o-e Please help me qwq
test-file