-1

I get an encoding issue with the ls command as seen here:

Command outputs for ls and locale

When I change ~/.zshrc to have a LC_ALL in UTF8 encoding, the output changes to \001\357\277\275. What do I need to do to fix this?

1 Answer 1

0

It turns out that it was some sort of empty file. I deleted it by pressing tab after rm and everything looks good now! I thought that something was broken--I'm not sure where it came from.

3
  • There are exactly two characters that can't be put in a unix filename.
    – user10489
    Commented Jun 24 at 22:39
  • @user10489 do you have any idea where it came from? Is there a way that I could find out?
    – Jake Nixon
    Commented 2 days ago
  • Most likely, fat fingered something. If you hadn't deleted it, you could check the date and see when it happened. If you're lucky, it might still be in your history, otherwise a mystery forever. We've all done it at some time probably.
    – user10489
    Commented 2 days ago

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .