Friday, November 22, 2013

Searching Our Patron Catalog: Fun with Special Characters!

Sometimes our patron catalog makes me question my sanity. Today, I was reading an interview on Public Libraries Online with Joshilyn Jackson about her newest book, Someone Else’s Love Story. It looked interesting so I copied the title, from the website, and then pasted it into our catalog. Our catalog claimed we didn't have it which I thought was odd. I went to Amazon, found the ISBN, came back to our search, and pasted the ISBN into the ISBN index. This time our catalog did find the book. Why?

I examined the title again. It looked the same as what I had typed in. I came up with a hypothesis: perhaps our catalog had trouble searching single quotes. I pasted the title in again and substituted an asterisk instead of a single quote like this: Someone Else*s Love Story . This time it worked! I erased the asterisk and typed a single quote in just to make sure I wasn't imagining things. Wait, it worked with the single quote also. I copied the title again, and once again it didn't work. I stared at the screen in frustration.

Finally, I found the problem. It turns out that our catalog has absolutely no problem searching for titles where you use the single quote that appears on your keyboard ('). What it can't do is use right single quotes (’). Look closely, can you see the difference?

Single QuoteRight Single Quote
'

So the moral of the story is, if you copy and paste something into our catalog and retrieve no results, makes sure your copy source didn't use special single/double quotes. If it did, erase that part and retype it using your keyboard.

As an aside, we're hoping to move to a new ILS system next year. I double checked and this particular problem should not be an issue in our new system.