fixed encoding problem on CalendarDialog