[Rpm-metadata] files listings

Jeff Licquia licquia at progeny.com
Wed Oct 22 23:03:38 UTC 2003

On Wed, 2003-10-22 at 17:16, seth vidal wrote:
> On Wed, 2003-10-22 at 11:58, Joe Shaw wrote:
> > On a related note (and one that we've run into in Red Carpet): How do we
> > deal with files that are in an unspecified encoding?  In RC we just drop
> > any files which aren't UTF-8 encoded, betting on the fact that probably
> > no RPMs depend on one of those files.  Hasn't bit us yet, and seems like
> > it'll be less of an issue going forward as distributions move all this
> > to UTF-8.  (On a related note, it'd be nice of RPM 4.3 or whatever
> > enforced UTF-8 filenames, as it is The One True Way)
> hmm - I hadn't considered this.
> Daniel: could you take a gander in your rpmfind db of rpms and see if
> you can find any non-utf8 filenames? I figure you have the largest
> collection of rpms, especially those from non-en_US countries.

The XML standard defaults to Unicode, and any Unicode encoding should be
easy to convert to and from UTF-8; could we just specify that
non-Unicode data be translated into Unicode before putting it in the
metadata file?

More information about the Rpm-metadata mailing list