Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2012-11-20T07:23:46Z by SystemAdmin
SystemAdmin
SystemAdmin
6089 Posts
ACCEPTED ANSWER

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
    ACCEPTED ANSWER

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

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