If, before M-x shell, I run C-x RET c (universal-coding-system-argument) I can change the coding system used by the shell. Therefore, given

echo Straße > foo 

foo will be encoded in the related CS.

How can I change the coding system after issuing M-x shell?

More generally, how can I set comint input/output encoding?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.