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

Seth Vidal skvidal at fedoraproject.org
Fri Aug 7 16:54:28 UTC 2009



On Fri, 7 Aug 2009, Florian Festi wrote:

> 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...

I know you hate to see something like this but:

Could you make it an option? We could enforce it in fedora and other 
distros can do whatever the hell they want.

-sv



More information about the Rpm-maint mailing list