Text File Encoding

Home » CentOS » Text File Encoding
CentOS 2 Comments

I’m working with some people using apple laptops. When we share text files (latex files), I reach in an encoding problem on our CentOS
laptops and desktops. In my favorite editor, “

2 thoughts on - Text File Encoding

  • Hi Patrick,

    Use UTF-8 on all platforms.

    Most ediors on the Mac, among them the predominant LaTeX editor for Mac OS X, TeXshop, can (and should) be set to use UTF-8 as the default encoding, and if exchanging textual data between platforms is an issue, UTF-8 (or -16) is the only sensible solution.

    Opening files with language specific characters such as German Umlauts in Linux is no problem if the files have been encoded as UTC-8 and UTF-8 is set as the locale on Linux.

    Cheers,

    Peter.