Changeset 11432


Ignore:
Timestamp:
12/07/08 21:50:26 (13 years ago)
Author:
ehuelsmann
Message:

Support setting external format parameters without affecting the chosen encoding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/open-external-format/src/org/armedbear/lisp/Stream.java

    r11430 r11432  
    320320      else if (enc instanceof AbstractString)
    321321          encoding = enc.getStringValue();
     322      else if (enc == keywordDefault)
     323          // This allows the user to use the encoding determined by
     324          // Java to be the default for the current environment
     325          // while still being able to set other stream options
     326          // (e.g. :EOL-STYLE)
     327          encoding = null;
    322328      else if (enc instanceof Symbol)
    323329          encoding = ((Symbol)enc).getName();
Note: See TracChangeset for help on using the changeset viewer.