Special Character Issue

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Special Character Issue

Post by myukassign »

I am trying to transfer special character from Flat file A to Flat File B.

When I do a view data of sequential file, insted of showing the actul characters, it is showing "?" mark.

Can anyone help me?

The spcial character causing problem is "Đ Đ˝Đ"
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The "view data" has always been an issue with multibyte data and the representations of special characters will mostly be incorrect. Use an OS tool that supports different character sets to view data like this.
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

Alrt!

I ran the job and verified the Falt file B. All the characters in Falt file A is not transferred to Falt file B. For some charactes it is showing "?" mark.

I am using NLS MAP as UTF-8 at source and target. But still m in trouble.

:(

Can you please help me what can I do to resolve this issue?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

That should not be possible. If you have a job with input file A and output file B, both declared as UTF-8 and declare the character columns (I think that the extended attribute is "unicode") the same in source and target then both file will be identical.
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

What tool do you take to look at your flat files?
Wolfgang Hürter
Amsterdam
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

Microsoft Notepad
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Did you specify "unicode" in the extended attribute for the string fields?
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

In Microsoft Notepad you can choose the font and not all fonts support UNICODE
Wolfgang Hürter
Amsterdam
david_sol_llaven
Participant
Posts: 5
Joined: Thu May 22, 2008 11:50 am

Let me see the files.

Post by david_sol_llaven »

myukassign wrote:Alrt!

I ran the job and verified the Falt file B. All the characters in Falt file A is not transferred to Falt file B. For some charactes it is showing "?" mark.

I am using NLS MAP as UTF-8 at source and target. But still m in trouble.

:(

Can you please help me what can I do to resolve this issue?
Can you send me the files (or some part of them with the problem)?

Maybe the files are correct, but notepad doesn't display them.

david_sol_llaven - at - yahoo
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

Post by myukassign »

Interesting somehow its working with UTF 8

I doono wht cahnge i made, but its working now.

I think might be some issues with the input junk data.

Anyway thanks a lot for all comments.
Post Reply