writer = new MarcStreamWriter(out, encoding);
else
writer = new MarcStreamWriter(out);
if (convert != null) {
CharConverter charconv = null;
if (Constants.MARC_8_ENCODING.equals(convert))
charconv = new UnicodeToAnsel();
else if (Constants.ISO5426_ENCODING.equals(convert))
charconv = new UnicodeToIso5426();
else if (Constants.ISO6937_ENCODING.equals(convert))