[tz] TZ file comments UTF-8?

walter harms wharms at bfs.de
Thu Feb 14 15:21:36 UTC 2013



Am 14.02.2013 15:10, schrieb Markus Kuhn:
> Paul Eggert wrote on 2013-01-13 07:23 UTC:
>> On 01/12/2013 10:00 PM, Jaakko Hyvätti wrote:
>>> sooner or later it will be utf-8 as it has been
>>> for the rest of the world.
>>
>> In the long term UTF-8 is no doubt the way to go, but we
>> might not be quite there yet.
> 
> UTF-8 has been very well supported by all major Unix/Linux distibutions
> for nearly a decade now, and has been the default locale in most new
> installations since about 2005.
> 
> I strongly recommend that you use
> 
>   unset LC_ALL
>   LANG=en_US.UTF-8        # or en_GB.UTF-8, ... outside the US
>   LC_COLLATE=POSIX        # to avoid surprises with sorting order and globbing
> 
> With that, I hope that you will quickly find UTF-8 perfectly acceptable
> now in source code.
> 
> UTF-8 has long become common practice in comments of many open-source
> projects.
> 
> Markus
> 
> http://www.cl.cam.ac.uk/~mgk25/unicode.html#collate
> 


i prefer plain ascii because i get trouble from time to time with mixed code
documentation. (last week some wired 16bit thing). being conservative seems
the most practical way.

just my 2 cents,
 wh



More information about the tz mailing list