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

Re: cvs commit to debian-installer/utils/debian by andrelop



On Sat, Oct 18, 2003 at 08:07:08PM -0200, Andre Luis Lopes wrote:
> Hi,

> On Sat, Oct 18, 2003 at 09:58:28PM +0200, Christian Perrier wrote:
> > Quoting Andre Luis Lopes (andrelop@debian.org):

> > > Also, does it suffice to only use the command "file somechangelogfile"
> > > in order to check if the changelog is really in UTF-8 or should I be
> > > doing something else ?

> > Maybe you could just type your changelogs as before, with ISO-8859-1
> > encoding and then "iconv --to utf-8" these files. "man iconv" for details.

> I thought about using it but I'm concerned about which kind of beast I
> would end up when re-converting a changelog to UTF-8. If a changelog is
> already in UTF-8 and I use a ISO-8859-1 locale *and* a ISO-8859-1 editor
> to edit it and then convert it back again to UTF-8, what would happen to
> the text which was already written in UTF-8 ? Would it be preserved as
> valid UTF-8 or would it be re-converted again ?

It would be re-converted.  You would need to either convert the file to
ISO8859-1 before editing and then convert back to UTF-8, or do all your
editing in UTF-8 directly.

> I have already tried to do this previosly but I came to the conclusion
> that I was having much more problems comunicating with everyone else
> which were not using UTF-8 than I would like to have. Maybe switching
> completely to UTF-8 would be an option in the future, but not now.

At least for email, a good mail reader should honor character sets and
be capable of auto-converting.

-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature


Reply to: