From 87c7d7e41fca7227af3582174c5933fb91981eb7 Mon Sep 17 00:00:00 2001 From: Yoshiyuki Harada <70787551+marineotter@users.noreply.github.com> Date: Thu, 18 Nov 2021 08:58:33 +0900 Subject: [PATCH] Interpret "" DICOM Character Set as iso-8859-1 (#219) --- pkg/charset/charset.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/charset/charset.go b/pkg/charset/charset.go index a0dca827..9b4dcaa6 100644 --- a/pkg/charset/charset.go +++ b/pkg/charset/charset.go @@ -40,6 +40,7 @@ const ( // htmlEncodingNames represents a mapping of DICOM charset name to golang encoding/htmlindex name. "" means // 7bit ascii. var htmlEncodingNames = map[string]string{ + "": "iso-8859-1", "ISO_IR 6": "iso-8859-1", "ISO 2022 IR 6": "iso-8859-1", "ISO_IR 13": "shift_jis",