[Yum-devel] [PATCH] searchPackageProvides(): don't convert search strings to unicode

James Antill james at fedoraproject.org
Fri Aug 21 06:15:58 UTC 2009


On Wed, 2009-08-19 at 18:01 -0400, Mike Bonnet wrote:
> The searchPackageProvides() method is converting the search strs to unicode, which causes any comparisons against utf-8-encoded values returned by sqlite to fail.  Call to_utf() instead to ensure that the values are strs, but in the cases I tested this was a noop.

 This is true, _but_ "yum search ®" and 
"yum whatprovides 'font(эвристика)'" both work for me, it's just
repoquery --whatprovides that fails.
 So I'd much rather just fix repoquery.

-- 
James Antill <james at fedoraproject.org>
Fedora


More information about the Yum-devel mailing list