In <[email protected]>, on 12/29/2011
   at 09:19 AM, Brad Wissink <[email protected]> said:

>We have a client that is trying to transfer us a file and it is
>loaded with nulls.  They say that is the way it comes from the
>purchased software they have on their workstation.  The file has a
>null character inserted after every character

That sounds like it's a Unicode file in UCS-2 or UTF-16.

>Has anyone seen anything like this before?  Is there a quick and
>easy way to remove all the nulls?

Use any utility capable of translating UTF-16 to UTF-8. I believe that
iconv will work.
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to