again utf-8 problem, specifying charset for getBytes helps to return correct length