Re: zsh, ssh und Umlaute



Martin Kißner wrote:

Kann ich das encoding das von Kommandos wie ls verwendet wird
herausfinden oder irgendwie beeinflussen?

Vor dem Encoding ist noch setlocale() zu prüfen.

Ein sehr schneller Test ist perl ohne Argumente aufzurufen,
da es Fehler von setlocale berichtet:
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "nonexistent",
LANG = (unset)
are supported and installed on your system.

Alternativ kann man es selbst in einem Testprogramm
aufrufen und ein paar weitere Prüfungen vornehmen:
http://www.in-ulm.de/~mascheck/locale/#checklocale
Um die dann naheliegende Ausgabe von UTF-8 Testzeichen
müßte es aber erst noch erweitert werden.

Was mich ein wenig wundert, ist die Tatsache, dass die Ausgaben von
echo äöüÄÖÜß korrekt ist, obwohl echo ja ein shell builtin ist.

Scheint mir nicht wie ein zwingender Test, es könnte ja als
8bit Ein- und Ausgabe gehandhabt werden und zufällig scheinbar
gelingen.
.



Relevant Pages

  • Syntax-Checker fuer LaTeX
    ... Auch andere scheinbare Fehler sind mir nicht klar, ... Warning 8 in preamble.tex line 65: Wrong length of dash may have been used. ... Muss ich bei latex ein minus _immer_ maskieren? ... (Lediglich Quellcode Anpassungen beim casten und fuer ...
    (de.comp.text.tex)
  • Re: How do variables get synthesized in this case?
    ... VHDL is a simulation language. ... which has the extra state changes of signals. ... a warning, but would not change the functioning of the code. ... such signal oscillation for power saving reasons, ...
    (comp.lang.vhdl)
  • Re: C++0x: Scaling up on weak foundations?
    ... in defining a new language for new development, ... Why have (excluding pointers) more than 1 name for the same size ... No implicit conversions to integers. ... * or perhaps with warning, ...
    (comp.lang.misc)
  • Re: Static Class Constants (VB 2005)
    ... this is a change in the VB.NET language and you will be force to change ... > with a single button, I get the error "Access of shared member, constant ... >>> Inside the class MyClass ... >>> because I didn't see the warning. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Warning level 4
    ... Ganz verstehe ich Dein Problem nicht. ... Hast Du mal ein kleines Beispiel Projekt? ... Projekt erstellt: Keine Warning oder Fehlermeldung ... Ein Fehler im Compiler/MFC o. ...
    (microsoft.public.de.vc)