Examples of this abound.

  *   Data that used to be iso-8859-1 or ascii that has been updated to utf-8, 
and so there is a decision made about which charset to use based on headers.
  *   Mainframe data coming from EBCDIC (old) machines/systems where a mixture 
of those with other ASCII/Unicode charsets.
  *   Anything involving Japanese or really any of the symbolic oriental 
language scripts. There are so many encodings in wide use.


________________________________
From: Roger L Costello <coste...@mitre.org>
Sent: Wednesday, April 28, 2021 1:49 PM
To: users@daffodil.apache.org <users@daffodil.apache.org>
Subject: Have you ever seen a data format that requires the value "encoding" be 
computed at runtime?

Hi Folks,

I see in the DFDL specification that the value of the encoding property can be 
computed. This surprises me. Can you give a real-world example of setting the 
value of the encoding property at runtime (parse time), please?

/Roger

Reply via email to