Change string to bytes to handle non-ASCII data