issue #713 changed strlen to mb_strlen, remember not to use strlen when using non standard characters