Verify a file's conformance with its modeline

Rainer Müller raimue at macports.org
Wed Jun 25 09:26:00 PDT 2008


Ryan Schmidt wrote:
 > [...]
> Not sure what else in the modeline needs verification. The modeline  
> can/should specify the file's character encoding, but port lint  
> always checks to make sure the file is UTF-8; it does not use the  
> encoding listed in the modeline. Then again, neither does MacPorts  
> itself; it also assumes/requires that the file is UTF-8.

Hmm, the modeline contains the fileencoding as a hint for your editor 
only, it should not be changed. All files should be UTF-8.

Rainer


More information about the macports-dev mailing list