lolcat icon indicating copy to clipboard operation
lolcat copied to clipboard

No output with UTF-16 files

Open Hk1020 opened this issue 6 years ago • 2 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?

Hk1020 avatar Jan 29 '19 12:01 Hk1020

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.

m-o-e avatar Mar 30 '19 22:03 m-o-e

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

Mia75owo avatar Dec 10 '21 17:12 Mia75owo