Add unicode support on query resources

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Merge pull request #241 from cbmi/issue-225

Add unicode support on query resources