DicomObjects.NET.8.48 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 System.String
    'Usage
     
    
    Dim value As System.String
     
    DicomGlobal.DefaultCharacterSet = value
     
    value = DicomGlobal.DefaultCharacterSet
    public static System.string DefaultCharacterSet {get; set;}
    public read-write property DefaultCharacterSet: System.String; static; 
    public static function get,set DefaultCharacterSet : System.String
    public: __property static System.string* get_DefaultCharacterSet();
    public: __property static void set_DefaultCharacterSet( 
       System.string* value
    );
    public:
    static property System.String^ DefaultCharacterSet {
       System.String^ get();
       void set (    System.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: .NET CLR 4.8 or higher

    See Also