fix bug with $D018 for selecting uppercase/lowercase charset.
Issue #19.