fixed python 2.x bug: xpub subscription unicode parsing error