DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomGlobal Class / DefaultCharacterSet Property



In This Topic
    DefaultCharacterSet Property
    In This Topic
    Default Character to set to use if 0008,0005 is absent
    Syntax
    'Declaration
     
    
    Public Shared Property DefaultCharacterSet As String
    'Usage
     
    
    Dim value As String
     
    DicomGlobal.DefaultCharacterSet = value
     
    value = DicomGlobal.DefaultCharacterSet
    public static string DefaultCharacterSet {get; set;}
    public:
    static property String^ DefaultCharacterSet {
       String^ get();
       void set (    String^ value);
    }
    Remarks
    The official DICOM rule, if the specific character set (0008,0005) is absent is to use ISO_IR 6 - i.e. just 7 bit US ASCII. This however commonly causes problems since many modality equipment suppliers (especially in Europe & Japan) use extension characters in the range 128-255 but don't bother to include 0008,0005 in their data. This property allows the default to be changed, and the initial value is "ISO_IR 100", which permits and assumes use of European accented characters in the upper range. Fortunately, the lower raneg (0-127) of this character set is identical to US ASCII (ISO_IR 6), so this value does not break compatibility for valid ASCII-only data.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also