[Rpm-maint] restricting content in spec files/pkgs to unicode only

Florian Festi ffesti at redhat.com
Fri Aug 7 16:05:43 UTC 2009


On 07/23/2009 10:35 PM, Seth Vidal wrote:
> Hi,
>  Looking at this bug:
>  https://bugzilla.redhat.com/show_bug.cgi?id=513459
>
> got me thinking - would it be possible to have rpmbuild check all the 
> content it is going to put into the rpm header to see if it is unicode 
> decodable and abort if it is not?
>
> It would save anyone handling it from w/i python  a lot of pain and 
> suffering, I think.
>
> Would it be possible?

No, files can have any 8 bit name. They should be utf-8 but this is not 
guaranteed.

Sorry...

Florian



More information about the Rpm-maint mailing list