Re: [d-i] Extended 'Description' fields in control files
On Fri, Sep 13, 2002 at 05:18:58PM +0900, Junichi Uekawa wrote:
> > sure, still valid UTF-8, but it's UTF-8 for what the UTF-8 is if
> > interpreted according to Latin1. I thought dpkg didn't assume anything
> > at all about the encoding in control files? That it expected us-ascii
> > and damn everyone who didn't follow that. Can I fix this somehow, or are
> > we doomed to having several encodings in the file because we can't do
> > UTF-8?
> I don't think it is a workable solution to have Description-xx fields encoding on
> 8-bit encoding.
> Could we move that out of Description-xx: lines to
> generate some kind of po file?
Po-debconf is based on intltool scripts, written by GNOME. I added
support for rfc822 format (partly incorporated upstream), modified
scripts are available at /usr/share/po-debconf/.
These scripts can be used to deal with control files too.