thehaas at binary.net wrote: > Obviously, 'Grüß'!='Gr\xfc\xdf' . It is not at all obvious that they are different. In fact, they are the same, assuming the second string is encoding in Latin-1. > Any ideas on how I can get the correct value? Pray tell: what is the correct value? Regards, Martin