in reply to utf-8 problem

Try to add:

use bytes;