Add unicode support on query resources

Fix #225.

Signed-off-by: Don Naegely <naegelyd@gmail.com>