anchor.diff:       , columnCount := ColumnCount
        , columns := _Columns
        , header := _Header
  -     , encoding := _Encoding
  +     , encoding := Encoding
        , skip := Skip
        } = CsvOpts,
       LSL = byte_size(LineSeparator),
  
positive.code:                 <<>> when ColumnCount == 1 ->
                      fun(Line,{P,Recs}) ->
                          LineSize = byte_size(Line)+LSL,
                          WithSizeFields = [P,LineSize,Line],
                          {P + LineSize, [list_to_tuple([?CSV_RECORD_NAME,File|WithSizeFields])|Recs]}
                      end;
                  <<>> when ColumnCount > 1 ->
                      fun(Line,{P,Recs}) ->
                          LineSize = byte_size(Line)+LSL,
                          WithSizeFields = [P,LineSize,Line] ++ lists:duplicate(ColumnCount-1,<<>>),
                          {P + LineSize, [list_to_tuple([?CSV_RECORD_NAME,File|WithSizeFields])|Recs]}
                      end;
                  CS when is_binary(CS) ->
                      fun(Line,{P,Recs}) ->
                          StrFields = binary:split(Line, [CS],[global]),
                          LineSize = byte_size(Line)+LSL,
                          WithSizeFields = case length(StrFields) of
                              ColumnCount ->
  
negative.code: continuation(Io, Files, CMS, Pos, BlockSize, RowLimit, RowsSkipped, CsvOpts) ->
      #{io=>Io, files=>Files, cms=>CMS, pos=>Pos, blockSize=>BlockSize, rowLimit=>RowLimit, rowsSkipped=>RowsSkipped, opts=>CsvOpts}.
  
  change_encoding(Data, From, From) ->
      Data;
  change_encoding(Data, From, To) ->
      case unicode:characters_to_binary(Data, From, To) of
          {incomplete,Encoded, Rest} ->
              Encoded ++ change_encoding(Rest, From, To);
          {error, _, _} ->
              ?Error("Error wile enoding from  ~p to ~p", [From, To]),
              error("Error while changing encoding");
          List ->
              List
      end.
  
  %% TESTS ------------------------------------------------------------------
  -ifdef(TEST).
  
  