IIUC, +ebcdic means "compiled on an EBCDIC machine", IOW, the Vim
_source_ was in EBCDIC. In order to edit EBCDIC _data_ files it is
enough to have a Vim which can thanslate the data losslessly back and
forth between the file's 'fileencoding' (i.e. the charset the file
uses on disk) and Vim's 'encoding' (i.e. the charset Vim uses in
memory, for which UTF-8 is the recommended value).
I expect that any Vim compiled with +iconv (or with +iconv/dyn with
the iconv or libiconv library found at runtime) should be able to edit
such files _provided_ that their 'fileencoding' be recognized when the
time comes to edit them. One of the possible ways is to tell Vim the
'fileencoding' when loading the file in order to edit it. See:
iconv --list
:help ++opt
http://vim.wikia.com/wiki/Working_with_Unicode
The first of these tells you which charsets are known to the iconv
program installed on your system (There are usually very many, so you
may want to filter the output though the less pager, or even through
"view -" without quotes). The second one tells you how to tell Vim the
charset of a given editfile. The third is general information about
using Vim for editing files not all in the same charset, by setting
Vim to use Unicode internally so any charset can be translated
losslessly to and from the one used internally by Vim.
Example:
:new ++enc=ebcdic-us /path/to/filename.ext
will edit the file in a new window and translate it from EBCDIC(US) to
Vim's 'encoding' (e.g. to UTF-8) when reading; when comes the time to
save your edited file, the opposite translation will happen.
Best regards,
Tony.