Re: Text file encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Patrick, 

>   iconv -f MACINTOSH -t ISO8859-15 file.bib.mac >file.bib
>   iconv -f ISO8859-15 -t MACINTOSH file.bib >file.bib.mac
> 
> But it is a little tedious to work like this...
> 
> Runing pdflatex (in CentOS) on these files written on apple laptops works fine with
> 
>   \usepackage[applemac]{inputenc}
> 
> So the main problem is an editor problem. I've tried several ones (nedit, gedit, kate, vim...) none of them seams to support this encoding. But may be it is a configuration problem ?
> 
> Any idea ?

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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux