BUG: unicode-related

closes https://github.com/scipy/scipy/issues/4026