This is greasy. I've checked this only with Polish characters. There's a virtual machine I SSH into. The only exception is when I type something in my terminal. Then it can
echo it right. And there's a positive variation on this. I copied a few Polish chars from my laptop with this command:
cat pl | ssh tomas@$do 'cat > pl'
This are the chars:
…
When i
cat it in the SSH session, it prints correctly. But when I make of it
index.html in Apache, I get this:
Ņ… …
I also can't use
vim nor
nano

**UPDATE I forgot the strongest trigger to ask this question was mail, as I'm working on this now. The mails arrive garbled. It's Postfix. I've been looking for similar issues and configs, but found nothing relevant so far

These are the locales there:
LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC=pl_PL.UTF-8 LC_TIME=pl_PL.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=pl_PL.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER=pl_PL.UTF-8 LC_NAME=pl_PL.UTF-8 LC_ADDRESS=pl_PL.UTF-8 LC_TELEPHONE=pl_PL.UTF-8 LC_MEASUREMENT=pl_PL.UTF-8 LC_IDENTIFICATION=pl_PL.UTF-8 LC_ALL=
What am I missing?
**UPDATE**
After I'd set in the site's config in Apache:
AddDefaultCharset UTF-8
the page prints correctly. This is a likely hint. And Sato Katsura may be right in the comments.