Bug 249106

Summary: Search returns bogus results containting msggrep warnings
Product: [Fedora] Fedora Localization Reporter: Dimitris Glezos <dimitris>
Component: WebsiteAssignee: Dimitris Glezos <dimitris>
Status: CLOSED NOTABUG QA Contact: Diego Búrigo Zacarão <diegobz>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aalam, asgeirf, piotrdrag
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-28 09:46:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dimitris Glezos 2007-07-20 21:57:09 UTC
## Description of problem:

Searching for almost anything returns results that shouldn't be returned. Eg:

http://translate.fedoraproject.org/search/?s=test&language=POT&msgid=True&msgstr=True&ignore-case=true&highlight=true

msggrep: warning: Locale charset "ANSI_X3.4-1968" is different from
                  input file charset "UTF-8".
                  Output of 'msggrep' might be incorrect.
                  Possible workarounds are:
                  - Set LC_ALL to a locale with encoding UTF-8.
                  - Convert the translation catalog to ASCII using 'msgconv',
                    then apply 'msggrep',
                    then convert back to UTF-8 using 'msgconv'.

Comment 1 Dimitris Glezos 2008-01-28 09:46:45 UTC
This feature was removed from our website, so this bug is kind of obsolete.

It's long until upstream accept the search function, and, besides, we ought to
do write it anyway from scratch with a more efficient way of doing search,
caching, etc.