Gerd Möllmann writes: > It would be nice if I could get at least the right character encoding on > my system... On the plus side, I at least know now what's happening, > although I don't know what to do. I'd like to propose the attached patch for problem of invalid LANG setting. This simply falls back to "en_US.UTF-8" if LANG isn't valid, or something valid can't be deduced from the locale. I find this acceptable even in my setting ("en_DE") because even Apple's Terminal doesn't get this right. A closer looks at what is set in the locale in Terminal shows that, for instance, date format and thousands separator are en_US anyway.