Bug correction for unicode encoding.