Replace pipe with Broken Pipe

Hi All ,
Is there any way to replace the pipe ( | ) with the broken pipe (0xA6) in unix

maybe this:

echo "|" | sed 's/|/\xA6/'