MajwareMAJWARE
General

(0008,0005)

Specific Character Set

Keyword: SpecificCharacterSet

The character set (or sets) used for text values in the data set when they go beyond the default repertoire, which is basic ASCII.

Tag Attributes

Tag ID
(0008,0005)
Compact
00080005
Keyword
SpecificCharacterSet
VR
CS — Code String
VM
1-n
Required
Type 1C — required when a condition applies
PS3.15
Not listed in PS3.15 Table E.1-1
Retired
No

Defined in

SOP Common Module

What Specific Character Set contains

Specific Character Set says how to read the bytes of text values that go beyond basic ASCII. Without it, only the default repertoire (ISO-IR 6, basic ASCII) may be used in names, descriptions and other text.

A single value selects one character set for the whole data set, for example ISO_IR 100 for Latin-1 or ISO_IR 192 for UTF-8. Several values mean ISO 2022 code extensions: the text switches between character sets with escape sequences, as many Japanese and Korean data sets do to combine ASCII with ideographic and phonetic scripts.

It is Type 1C in the SOP Common Module. An Item of a sequence may declare its own Specific Character Set; otherwise the value of the enclosing data set applies.

It applies to text VRs such as PN, LO, SH, ST, LT and UT. When a value uses characters outside ASCII and this attribute is missing or wrong, receivers decode the bytes with the wrong character set and names appear as garbled text. More than one value means ISO 2022 code extensions are used.

Group 0008 holds general identifying information: what kind of object this is, when it was made, and by which equipment and people.

Value format: CS (Code String), VM 1-n

(0008,0005) SpecificCharacterSet has Value Representation CS (Code String) and Value Multiplicity 1-n, which means one or more values, separated by a backslash (\).

CS — Code String

A short code. Leading and trailing spaces are not significant. Codes are usually Defined Terms or Enumerated Values listed by the standard.

Length
16 bytes maximum
Characters
Uppercase letters A–Z, digits 0–9, the space and the underscore.

Example value

ISO_IR 192

Format mistakes to avoid

  • Lowercase letters, hyphens and other punctuation are not allowed, so ct or Head-Neck are invalid code strings.
  • Values longer than 16 characters are invalid.

Common values

ValueMeaning
(absent)Default repertoire: basic ASCII (ISO-IR 6). There is no Defined Term for it; the attribute is simply left out.
ISO_IR 100Latin alphabet No. 1 (Western European)
ISO_IR 144Latin/Cyrillic
ISO_IR 166Thai
ISO_IR 192Unicode in UTF-8
GB18030Chinese (GB 18030)
\ISO 2022 IR 87Japanese Kanji with code extensions; the empty first value means ASCII by default

Where SpecificCharacterSet appears

Defined inTypeMeaning
SOP Common ModulePS3.3 C.12.11CRequired, with a value, when its condition applies, and absent otherwise.Required if an expanded or replacement character set is used. When it is absent, only the default repertoire (basic ASCII) may appear in the data set.

A module lists the attributes an object must or may carry. Many IODs (CT Image, MR Image, Secondary Capture and others) include the same module, and an IOD-specific module can make an attribute stricter than the general one.

De-identification (PS3.15)

Specific Character Set is not listed in PS3.15 Table E.1-1, so the Basic Application Level Confidentiality Profile gives no specific action for it.

To see how de-identification changes your own files, try the free DICOM Anonymizer, which runs in the browser and uploads nothing.

In archives and migrations

When studies move between archives, the objects should arrive with this attribute exactly as it was sent. Compare a sample of objects on both sides after the transfer rather than assuming nothing changed.

Common errors and how to fix them

  • Names show question marks or garbled characters

    The data set uses non-ASCII text but declares no character set, or the wrong one. Set the correct value at the device that writes the text.

  • UTF-8 declared, but the bytes are Latin-1

    The writer changed its declaration without changing its encoding, or the reverse. The two must match; re-encode the text or correct the declaration.

Troubleshooting: Garbled patient names in a viewer usually mean a missing or wrong Specific Character Set. Compare the raw bytes of the name with the declared character set, and fix the setting at the device that creates the objects; the receiver cannot guess the right encoding.

Check a file in seconds with the free DICOM Validator: it reads the header in your browser, lists the tags with their values, and flags missing or malformed key attributes.

Specific Character Set: frequently asked questions

What is DICOM tag (0008,0005) Specific Character Set?

The character set (or sets) used for text values in the data set when they go beyond the default repertoire, which is basic ASCII. Specific Character Set says how to read the bytes of text values that go beyond basic ASCII. Without it, only the default repertoire (ISO-IR 6, basic ASCII) may be used in names, descriptions and other text.

What VR and VM does Specific Character Set (0008,0005) have?

(0008,0005) SpecificCharacterSet has Value Representation CS (Code String) and Value Multiplicity 1-n, which means one or more values, separated by a backslash (\). A short code. Leading and trailing spaces are not significant. Codes are usually Defined Terms or Enumerated Values listed by the standard. Maximum length: 16 bytes maximum.

Is Specific Character Set (0008,0005) required?

In the SOP Common Module (PS3.3 C.12.1) it is Type 1C: required, with a value, when its condition applies, and absent otherwise. Required if an expanded or replacement character set is used. When it is absent, only the default repertoire (basic ASCII) may appear in the data set.

How is Specific Character Set handled when de-identifying DICOM files?

Specific Character Set is not listed in PS3.15 Table E.1-1, so the Basic Application Level Confidentiality Profile gives no specific action for it.

How do I troubleshoot Specific Character Set (0008,0005)?

Garbled patient names in a viewer usually mean a missing or wrong Specific Character Set. Compare the raw bytes of the name with the declared character set, and fix the setting at the device that creates the objects; the receiver cannot guess the right encoding.

What is ISO_IR 192 in DICOM?

It is the Specific Character Set value for Unicode encoded as UTF-8. With it, a data set can hold names and text in any script without ISO 2022 escape sequences.

Check SpecificCharacterSet in your files

The free DICOM Validator lists every header tag and flags problems. Files stay in your browser.

Open DICOM Validator →

Remove patient data before sharing

The free DICOM Anonymizer applies a de-identification profile in your browser, with no upload.

Open DICOM Anonymizer →

Sources

Checked against the DICOM standard, release 2026d. Module Types, query keys and de-identification actions come from these tables:

More General tags