diff UnitTestsSources/FromDcmtkTests.cpp @ 2401:a051aba0037c

Use "GBK" (frequently used in China) as an alias for "GB18030"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 02 Sep 2017 11:50:08 +0200
parents 7284093111b0
children e4045b3c9772
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtkTests.cpp	Fri Sep 01 21:37:19 2017 +0200
+++ b/UnitTestsSources/FromDcmtkTests.cpp	Sat Sep 02 11:50:08 2017 +0200
@@ -263,6 +263,7 @@
   // http://dicom.nema.org/medical/dicom/current/output/html/part03.html#table_C.12-5
   ASSERT_TRUE(GetDicomEncoding(e, "ISO_IR 192"));  ASSERT_EQ(Encoding_Utf8, e);
   ASSERT_TRUE(GetDicomEncoding(e, "GB18030"));     ASSERT_EQ(Encoding_Chinese, e);
+  ASSERT_TRUE(GetDicomEncoding(e, "GBK"));         ASSERT_EQ(Encoding_Chinese, e);
 }