Topic
  • 1 reply
  • Latest Post - ‏2012-11-20T07:23:46Z by SystemAdmin
SystemAdmin
SystemAdmin
6089 Posts

Pinned topic Reading text file as Binary encoding and conevrting to String

‏2010-03-20T04:18:17Z |
Hi,

I am using IBM Flat File Adapter 6.2.0 to read a flat text file using binary encoding settting.
Can you please help to convert the binary read data back to text string.

Flat File Content abc.txt:
Hi This is anil varma

Flat File adapter parsing the above file return the string:
4869205468697320697320616E696C207661726D61
How do I get the text string from above coded data.

Thanks
Anil
Updated on 2012-11-20T07:23:46Z at 2012-11-20T07:23:46Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6089 Posts

    Re: Reading text file as Binary encoding and conevrting to String

    ‏2012-11-20T07:23:46Z  
    if you want text then why u are reading it in BINARY. ready in text (UTF)