Skip to content
  • Andreas J. Guelzow's avatar
    return the byte length of the used terminator · 0064a1aa
    Andreas J. Guelzow authored
            * src/stf-parse.c (compare_terminator) : return the byte
              length of the used terminator
            (stf_parse_paresoptions_new): initialize the string indicator
              to our default
            (stf_parse_next_token): pass all parse options, check also for
              separators and terminators
            (stf_parse_options_csv_set_stringindicator): the string
              indicator could be a non-ascii character
            (stf_parse_csv_cell): use the type information returned by
              stf_parse_next_token
            (stf_parse_eat_separators): Don't eat null bytes.
            (stf_parse_get_rowcount): use stf_parse_next_token to avoid
              counting in-string newlines
            * src/stf-parse.h (stf_parse_next_token): pass all parse
              options
            (stf_parse_options_csv_set_stringindicator): the string
              indicator could be a non-ascii character
            * src/stf.c
    
            * dialog-stf-csv-page.c (csv_page_global_change): the string
              indicator could be multibyte
            * alog-stf-export.glade: replace Charset label to be consistent
              with import dialog
    0064a1aa