Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-18342

DFU spray should convert to UTF8

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Scheduled
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DFU Server
    • Labels:
      None
    • Compatibility:
      Minor

      Description

      There is code already in DFU to allow conversion between different UTF versions as the file is sprayed/copied.  Access to these options seems to have been lost when we migrated from dfu to dfuplus.

       

      Since the engines only support reading utf-8 files dfu should default to converting any unicode input (whether csv, json or xml) to utf-8.  There should also be an option to override this just in case it isn't desired (and to also allow despraying to a different encoding).

       

      It probably should not be used when using the option to spray multiple files and concatenate names and lengths since the lengths would then be wrong.

       

      (See FileFormat::restore for details)

       

       

        Attachments

          Activity

            People

            • Assignee:
              attilavamos Attila Vamos
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated: