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

Re: Maintainer: field in .changes



* Frank Küster <frank@kuesterei.ch> [2004-01-20 10:10]:
> What are the problems with UTF-8 in control? I am using UTF-8 in
> debian/changelog and debian/control. I've done that because I read
> that changelog has to be in utf-8 before I heard of any problems
> with utf-8 in control.

Well, there are just some problems in the archive scripts.  You have
to use the same encoding in changelog and control, otherwise katie
will think it's an NMU.  This is because it simply compares both
strings, without first converting both into UTF-8 (some people have
ASCII (or Latin) in control and UTF-8 in changelog).  The second
problem is that it sends mail with whatever encoding is used - that
means, it sends UTF-8 stuff which is against some RFC.

(The practical answer to your question is: just use UTF-8 in both.)

(If anyone knows how to convert a string to UTF-8 in Python regardless
of whether it's UTF-8 or Latin or ASCII, and to convert a string to
ASCII/Latin regardless to whether it's UTF-8 or Latin, speak up now...)
-- 
Martin Michlmayr
tbm@cyrius.com



Reply to: