applied utf8 patch from George Prekas