Octave Annoyance

Octave is a great tool, albeit with a few annoying things that took me a while to fix.

This message was suspect and I did not know how to fix it at first. I tried to fix my git bash profile, but nothing worked.

>> help transpose
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LC_NUMERIC = "C",
        LC_TIME = "C",
        LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

I knew that LC_ALL was not set, but where to set it? Then I decided to add

putenv('LC_ALL', 'de_CH');

to the file ~/.octaverc and suddenly the message disappeared.

2024-12-20


copyright 2025 mobilarte