Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.
Moderators: chulett , rschirm , roy
pandeesh
Premium Member
Posts: 1399 Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU
Post
by pandeesh » Thu Dec 22, 2011 7:01 am
i am not sure, but i think it's posible.
Convert Ascii to UTF8 in UNIX itself and process the file.
pandeeswaran
kmsekhar
Premium Member
Posts: 58 Joined: Fri Apr 16, 2010 12:58 pm
Location: Chn
Post
by kmsekhar » Thu Dec 22, 2011 7:41 am
try to use ISO-8859-1
marchana
Participant
Posts: 18 Joined: Tue Jul 13, 2010 2:32 am
Post
by marchana » Fri Dec 23, 2011 12:44 am
Thanks for your reply. i tried by converting into UTF8 file, its working fine
.
For the first time itself ,i tried that ISO-8859-1 nls it's not working.
Is there any option to read that file without converting into UTF8 file?
Thanks a lot........
pandeesh
Premium Member
Posts: 1399 Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU
Post
by pandeesh » Fri Dec 23, 2011 1:13 am
marchana wrote: i tried by converting into UTF8 file, its working fine
.
Hi,
May i know how did you convert to UTF-8?
using any shell script?
Thanks
pandeeswaran
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Fri Dec 23, 2011 7:38 am
I assume via
iconv. No, not that one,
this one.
-craig
"You can never have too many knives" -- Logan Nine Fingers
pandeesh
Premium Member
Posts: 1399 Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU
Post
by pandeesh » Fri Dec 23, 2011 7:45 am
I tried iconv,but it seems not working for me.
Code: Select all
$ iconv -f iso-8859-1 -t utf-8 <testa > abcde
Not supported iso-8859-1 to utf-8
Code: Select all
$ iconv -f utf-8 -t iso-8859-1 <testa > abcde
Not supported utf-8 to iso-8859-1
Any thoughts on this?
Thanks
pandeeswaran
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Fri Dec 23, 2011 7:59 am
My first thought? Man, I wish you'd learn how to use the code tags so I don't "need" to constantly clean them up. Second thought: perhaps I assumed... poorly.
-craig
"You can never have too many knives" -- Logan Nine Fingers
pandeesh
Premium Member
Posts: 1399 Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU
Post
by pandeesh » Fri Dec 23, 2011 1:32 pm
Sure! i will follow.
Thanks
pandeeswaran