unicode message encoding support