Replacing UNIX 1 byte delimiters to the pipe separator

Hi

I am new to Unix Shell scripting have a requirement where I have to replace the "unix 1 byte delimiter" with the "pipe" separator and also remove any carriage returns and line feeds if any

The Source File

4 QFH Jungle Hill 32-34 City Road London SE23 3UX

the output should be

4|QFH|Jungle Hill|32-34 City Road|London|SE23 3UX

Thanks

Please use code tags as required by forum rules!

Any attempts/ideas/thoughts from your side?
What is the "unix 1 byte delimiter"? In your sample, I see you replace some spaces with pipes, and some not. Please describe the logics.

I am trying to execute this but with no luck

sed 's/\x0/|/g' $file > $DEST_DIRNAME/${newfile%.$ORIG_FILEEXT}.$DEST_FILEEXT

---------- Post updated at 09:29 PM ---------- Previous update was at 04:51 PM ----------

I have a ASCII null separated file as shown in the example and what I am trying to do is to replace the Null separator with | (pipe) without affecting the nulls in the individual fields like "Jungle Hill" ,"City Road" & "SE23 3UX"

How do you tell a "Null separator" from a "null in the individual field"? Please attach (NOT post) a decent input data sample.