translate characters