On Tue, Apr 25, 2006 at 10:12:45PM +0200, David H??rdeman wrote: > Package: devscripts > Version: 2.9.19 > Severity: normal > > Bug #339657 fixed the problem where bts wouldn't properly escape 8bit > characters in DEBFULLNAME. But if DEBFULLNAME isn't set, the full name > is taken from /etc/passwd and used without escaping it first, causing > the same problems as in #339657.
Oh. I don't know how to solve this one. The full name is taken from DEBFULLNAME or EMAIL, and if neither of these are set, then from getpwuid. If `locale charmap` returns anything, the charset is taken from that setting and is used to encode the name for MIME purposes. This bug arises in the following situation: DEBFULLNAME is not set, and EMAIL is either unset or does not contain the name, and getpwuid (reading /etc/passwd or some other source) returns a name using an 8-bit encoding, and the locale does not match the encoding of /etc/passwd or whatever How should I determine the correct encoding to use in this situation? Or would it be better not to use the name at all in such a situation? The latter might be best. Julian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]