I’m banging my head here, desperately searched everywhere & tried everything for 2 days now…
Problem is, I’m running OpenSuse 12.1 on a sftp-server with LANG=en_US.UTF-8, and I need to change to ISO-8859 so both Linux & Windows users can send files with Swedish characters in filename.
This is a minimal install, so no X.
I have tried changing language & locale with YAST, still “# locale” shows sv_SE.UTF-8 - although primary language is English!?
sv_SE.ISO-8859-1 seems not to exist, tried with en_US.ISO-8859-1. Yast allows the change, after reboot still sv_SE.UTF-8.
If I manually edit /etc/sysconfig/console /etc/sysconfig/language and reboot I still have sv_SE.UTF-8.
Error message something like “cannot use sv_SE.ISO-8859-1, no such file”
Then I execute "SuSEconfig and locale shows sv_SE.ISO-8859-1 - no error message.
But filenames are still weird, still all UTF-8.
The closest I got is after also creating /etc/bash.bashrc.local with one line “export LANG=en_US.ISO-8859-1”.
After reboot “# locale” shows en_US.ISO-8859-1 - but look what happens:
(Oops, can’t attach image??) I’ll try to describe:
2 files created, one with LANG set to UTF-8, one set to ISO-8859-1
* ls shows both files with weird 'ÅÄÖ' (Swedish characters) in filename - only uppercase are weird though.
* #ls <tab> - now tab-completion shows files with correct filenames - 'ÅÄÖ' displays correct.
* checking files charset with "#file -bi " shows both are UTF-8
* In WinSCP on Win7 both filenames are weird.
* Files sent in by WinSCP are also weird, charset=ISO-8859-1
And I need to automate file transfer, using WinSCP for that on Windows. Haven’t found any other win-app that works better.
So, what I want to do is switch from UTF-8 to ISO-8859.
Anybody knows how I can do that?
Edit: Oh yes, System Keyboard is set to Swedish.