Skip to main content
Version: v0.0.3

Type Alias: CharsetTreatment

CharsetTreatment = "decode" | "verbatim"

How the parser treats a resolved MSH-18 character set.

  • decode: decode the byte stream to text with CharsetResolution.decoder.
  • verbatim: read the raw bytes as a 1:1 latin1 mapping; do not decode (byte-recoverable for single-byte content: see the module header).