astropy/astropy — pull request #2887 by pkubanek (2014-08-23 09:52:57+00:00)
Title: replace non-ASCII characters in header

Fixed problems with non-ASCII (e.g. UTF-8) characters in FITS header. This is a real issue with e.g. Astrometry.net, which puts into HISTORY local name of its build - and if the build was done on e.g. Czech locale, one will see UTF-8 characters in header (such as čt, which is for čtvrtek, Thursday). Such FITS headers open fine in Python and are probably valid, but due to header encoding does not work with wcs.