c# - Encoding text file to appear on IBM Mainframe -
I have a C ++ program that sends data via IBM Mainframe via ASCII mode. I am doing this now through C #.
When he goes there and the file looks like garbage.
I can not see anything in C ++ code that encode the file in encode Some things like EPCDIC, when C ++ files are sent, they are viewed properly. The only thing I see is that it is \ 015 & amp; \ 012 for line feed while using C # \ r \ n.
Will these characters have the effect and if I can get my C # app to use the 015?
Do I have to make a special encoding to look good?
It seems that you should actually use an EBCDIC encoding, and then perhaps the text in the binary Transferring.
Note that \ 015 \ 012 is
\ r \ n - those letters are in 13 and 10 decimal, There are just different ways of representing them. If you think that the C ++ code is actually that produces the same files as C
Comments
Post a Comment