Convert signature to unicode before comparing digests