code: public int read() throws IOException {
          int c;
  
          if (mFirst != 0) {
              c = mFirst;
              mFirst = 0;
          }
          else {
              c = super.read();
          }
  
          if (c == '\n') {
              mLine++;
          }
          else if (c == ENTER_CODE) {
              mUnicodeReader.setEscapesEnabled(true);
          }
          else if (c == ENTER_TEXT) {
              mUnicodeReader.setEscapesEnabled(false);
          }
          
          return c;
      }
docs: All newline character patterns are are converted to \n.