Which shell/environment are you using? I ask because in a bash environment I get the same result:
$ export xxx="\x41\x42\x43"
$ echo $xxx
In general, if you use single quotes, the contents is not treated special. Using double quotes will treat the content special.
Try using: export yyy='\x41\x42\x43'
You can also 'escape' the special chars by adding a backslash in front of (any) special char:
$ export xxx="\\x41\\x42\\x43"
$ echo xxx
Hope this helps.
Last edited by druuna; 06-24-2006 at 06:57 AM.