linux what locale to set for cp850

Viewed 757

I want to set a locale in a script so that cp850 codepage is used for the string that is handled by the script which will be written in a json-file.

I have found I can set LANG=de_DE.utf8 and I have found that some locales have a .cpXXX in the locale.

Any hint on how to get my umlauts from the string produced by writing to a pipe into the json-file are welcome.

Kind regards, Jan

1 Answers
Related