Das mit der Verdoppelung habe ich gemacht. Das Problem war dass das Ergebnis 'xx'x' war. OK das mit dem hex() probiere ich. Danke.