Problems I have:
No.1
When I'm in a directory with an umlaut (e.g. aä), then java fails:
$ basename $PWD
aä
$ cat Test.java
public class Test {
public static void main(String[] args) { System.out.println("a"); }
}
$ javac -cp . Test.java && java Test
Error: Could not find or load main class Test
When I move that file to the home directory, it works:
$ cp Test.java ~
$ cd ~
$ javac -cp . Test.java && java Test
a
No.2
When I'm using ranger as terminal file manager, the "aä" folder doesnt get displayed correctly.
Details
I'm using s6 as init system and sway as WM.
$ cat /etc/locale.conf
LANG=de_DE.utf8
$ locale -a
C
POSIX
de_DE.utf8
en_US.utf8
$ locale
LANG=en_US.utf8
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
And in my .bashrc I have:
export LC_ALL=C
export LANG=en_US.utf8
export LANGUAGE=en_US:de_DE
I wonder what I'm doing wrong.