Fixed error in unicode encoding.