on 07-24-2006 7:00 AM
Hello,
While doing FTP of the text file generated from XI(outbound/filename.txt) to windows, some new character([]-rectangle) is getting added to the new line character in the text file. This character is not seen if the same text file is viewed in unix directory. Is there any precaution to be taken in XI or in unix. Pls advise.
Regards,
Manoj
The problem is that DOS uses other values for newline:
Microsoft Windows / MS-DOS 0Dh 0Ah
Apple Macintosh OS 9 and earlier 0Dh
Unix (e.g., Linux), also Apple OS X and higher 0Ah
I think yuo have to take this into account and maybe make a conversion at some point. Normally FTP takes care of this automatically when you specify a ASCII transfer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
I think you are facing this problem because it is not recognising the newline. Hence, giving you a rectangle([])instead of showing the data in a newline.
Check the parameter that you have given for endseparator in content conversion.
All normal Java related settings should work, for ex:- \t (for tab), \n (for newline) etc...
Sometimes, normal editors like notepad may not show the newlines. you can check with something like textpad, ultraedit, edit plus etc.
You can also try hexadecimal values in the endseparator:
*new line (line feed) -> hex byte: 0x0A
*return -> hex byte: 0x0D
Go through the follwing thread which discuss exactly the same issue!:-
Regards,
Sushumna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prashant,
Those parameters are already set. While dragging the file from unix to windows folder via smartFTP this problem is occuring. While viewing the same file in unix this character is not seen.
Can I have your contact number.
Regards,
A.Selvakumar
0 99 11 280 680
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If that does not work, try using ISO-8859-1 as your encoding technique in your file adapter.
cheers,
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Selva,
Go to transaction SM59 and double click on AI_RUNTIME_JCOSERVER(XI destination for adapter engine)
Inside that, under tab MDMP and Unicode, There is an option for display of conversion errors
Check if the error indicator is set to #, and that U + 0023 is also set.
cheers,
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.