On Sat, Jan 04, 2003 at 07:43:33PM -0500, Colin Walters wrote: > Package: dpkg > Tags: patch > > Here is a patch against the current dpkg source (1.10.9), which uses my > little "localeio" library to output UTF-8 strings in the user's current > locale encoding. > > With this patch, the idea is that dpkg will use UTF-8 for all strings > internally, and only convert to the locale's encoding on output. This > patch is still experimental, but it works for me on some tests.
Can someone comment on what needs to happen for such a patch to be included? It seems that all packages have a control file in utf-8 now, but dpkg doesn't properly display the maintainer and descriptions if you're not on an utf-8 terminal. I see 2 ways to deal with this: - Do everything internally in utf-8 as the proposed patch does, and convert to CODESET on output. - Convert the contents of the files we read from utf-8 to CODESET. In either case we need 2 function that seem to have been a problem in the past and resulted in this not getting applied yet: - nl_langinfo(CODESET) - iconv() Are those still considered to be a problem? Both were atleast documented in SUS v2 in 1997. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]