The advanced query syntax parser here was cribbed from the original implemenation...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 27 Mar 2008 03:54:35 +0000 (03:54 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 27 Mar 2008 03:54:35 +0000 (03:54 +0000)
commit7c3e992328a7f9eb474baeb8ff4e93175a2b29c2
tree04b6772efac25441eb65122cda335b2ef985a84e
parent51987b5711caf20b592fbd3cd297a2e065bd915b
The advanced query syntax parser here was cribbed from the original implemenation inside the OpenSearch server.  mod_perl, due to being too clever by half, required a call to decode_utf8 to shove raw octets into the correct shape.  Becuase the data coming to this implementation comes from opensrf, which is unicode end-to-end via JSON, it's somebody else's job to make sure the characters are properly encoded, and once they get to us they're already proper UTF-8 character strings.  Thus, no need for (and things broken by) the call to decode_utf8.

Why is that explanation so long?  So that we don't do it again ... :)

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@9143 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm