← Back to Archives

Changing text encoding in emacs...

hacks

This is an oldie but a goodie... to change the way text is encoded with emacs, type:

C-x RET f unix RET

which will change a file from whatever encoding it's in (DOS or MAC, for example) to unix. Then save it (C-x C-s).