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

Re: UTF-8 and changelog



On Mon, Aug 04, 2003 at 01:15:07PM -0400, Stephen Gran wrote:
> Just a quick question about encoding changelog in utf-8.  My normal
> locale is iso-8859-1 (en_US or so, I guess), and `file changelog`
> returns 'ASCII text'.  I tried 
> `iconv -f ISO-8859-1 -t utf8 changelog -o changelog.new`, but then 
> `file changelog.new` returns 'ASCII text' again, and diff shows no
> difference.  Do I need to be doing this each time, or can I leave it be?

If the file is already plain ASCII (i.e. contains no top-bit-set
characters), then there is no difference between ISO-8859-1 and UTF-8,
and you needn't worry. The procedure you just described demonstrates
that the file is indeed plain ASCII.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: