comparison Sphinx/source/developers/implementation-notes.rst @ 74:a976607e46f7

note
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Dec 2016 09:43:53 +0100
parents c742c8f9ffa3
children
comparison
equal deleted inserted replaced
73:c742c8f9ffa3 74:a976607e46f7
10 special characters should contain the ``SpecificCharacterSet 10 special characters should contain the ``SpecificCharacterSet
11 (0008,0005)`` tag. The latter tag `specifies which codepage 11 (0008,0005)`` tag. The latter tag `specifies which codepage
12 <http://dicom.nema.org/dicom/2013/output/chtml/part03/sect_C.12.html#sect_C.12.1.1.2>`__ 12 <http://dicom.nema.org/dicom/2013/output/chtml/part03/sect_C.12.html#sect_C.12.1.1.2>`__
13 is used by the DICOM instance. Internally, Orthanc converts all these 13 is used by the DICOM instance. Internally, Orthanc converts all these
14 codepages to the `UTF-8 encoding 14 codepages to the `UTF-8 encoding
15 <https://en.wikipedia.org/wiki/UTF-8>`__. 15 <https://en.wikipedia.org/wiki/UTF-8>`__ (cf. the
16 ``Orthanc::ParsedDicomFile`` class).
16 17
17 In particular, :ref:`plugins <creating-plugins>` must assume that any 18 In particular, :ref:`plugins <creating-plugins>` must assume that any
18 string or JSON file coming from the Orthanc core is encoded using 19 string or JSON file coming from the Orthanc core is encoded using
19 UTF-8. Similarly, plugins must use UTF-8 when calling services 20 UTF-8. Similarly, plugins must use UTF-8 when calling services
20 provided by the Orthanc core. The conversion to/from UTF-8 is done 21 provided by the Orthanc core. The conversion to/from UTF-8 is done