View previous topic :: View next topic
|
Author |
Message |
Chinnadu
New User
Joined: 05 Mar 2009 Posts: 46 Location: Hyderabad
|
|
|
|
Hi,
Whie FTPing the data from windows to mainframes, some special characters (Looks like they belong to European language character set) are getting replaced with two new characters in mainframes. Can somebody tell me how to FTP the data into mainframes as is in Windows system.
Ex:
Data in source file: RÓDRO
Data after FTPed into mainframes : RC DRO.
Character "Ó" in source file is replaced with "C " in mainframes. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
You cannot squash the way more than 256 characters that Windoze can handle into the 256 EBCDIC ones. Period. Full stop. End of story. |
|
Back to top |
|
|
hankoerlemans
New User
Joined: 25 Jan 2018 Posts: 57 Location: Australia
|
|
|
|
Garbage in garbage out.
Welcome to the world of character translation.
Binary transfer followed by iconv....provided you know the source codepage for the offending character.
Enjoy. |
|
Back to top |
|
|
Cameron Conacher
New User
Joined: 11 Dec 2019 Posts: 8 Location: Canada
|
|
|
|
Agree with Hank.
Send the file in binary using FTP, and then run an iconv to transform the data from what ever CCSID you had on the windows box (ASCII or UTF-8 or UTF-16 or whatever), into whatever EBCDIC CodePage you wanted.
Keep in mind that when you browse the transformed mainframe data, you should also have the host codepage value of your emulator set to the EBCDIC CodePage value you transformed the data into.
For example, do not convert the data to EBCDIC CodePage 500 and then use an emulator with a host codepage setting of 291. |
|
Back to top |
|
|
|