User search

I implemented a user search dialog using Smack 2.1.0. It works fine, but I was wondering if there was a way to specify a case-insensitive search. So if I searched for ‘‘robert’’, I would want to get all entries matching ‘‘Robert’’ in addition to all the other case combinations. Is this something that needs to be implemented on the server?