• Selected character set WADO-RS

    From Mathias Kogler@21:1/5 to All on Thu Jan 13 00:00:46 2022
    Dear DICOM experts,
    I am not sure how to interpret the character set specification for WADO-RS in the DICOMweb standard.

    In part 18 section 8.8 the standard states:
    "A request without any Character Set Query Parameter or Accept-Charset header field implies that the user agent will accept any character set in the response."[https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_8.8]

    In section 8.8.5 the standard states:
    "The origin server shall determine the Selected Character Set(s) as follows:

    1. Select the first supported character set in the "charset" parameter(s) of the Selected Media Type.
    2. Otherwise, select the highest priority supported charset in the character-set Query Parameter.
    3. Otherwise, select the highest priority supported charset in the Accept-Charset header field.
    4. Otherwise, if the Selected Media Type has a default character set that is supported, select it.
    5. Otherwise, select UTF-8." [https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_8.8.5]

    And in section 8.7.3.5.3 the default character set is defined as UTF-8.
    "All DICOM Media Types have a Default Character Set of UTF-8." [https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_8.7.3.5.3]

    Questions:
    1. If no acceptable character set is sent by the client in which character set shall the response be encoded? UTF-8 or any character set they are available?

    2. If a "*" wildcard character set is sent by the client in which character set shall the response be encoded? UTF-8 or any character set they are available?

    E.g. for the Transfer Syntax this behavior is defined as "The wildcard value "*" indicates that the user agent will accept any Transfer Syntax. This allows, for example, the origin server to respond without needing to transcode an existing representation
    to a new Transfer Syntax". [https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_8.7.3.5.2]

    Kind regards,
    Mathias

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)