mb string, encoding bugfix