Page 1 of 1

Creating file in Unicode

Posted: Sun Sep 07, 2008 9:01 am
by mydsworld
I am trying to generate a flat file in Unicode format.I made the following change in the Sequential file stage.

1. Set NLS Code page : UTF-16
2. Set char/varchar column extended property 'Unicode'.

But the file is generated with strange characters like this (when I view in Notepad)

Posted: Sun Sep 07, 2008 9:41 am
by chulett
Like... what?

Posted: Sun Sep 07, 2008 10:04 am
by chulett
I think 'strange characters' are allowed under UniCode. What are the hex values? Use a (free) hex editor or 'od -h' on the UNIX side to find out. What kind of data are you encoding?

Posted: Sun Sep 07, 2008 10:16 am
by mydsworld
The problem is that I need to use the file as SAP BAPI Input and those strange characters are not accepted in BAPI stage.However BAPI stage expects input file in Unicode.