comparison Core/Enumerations.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 5edec967055e
comparison
equal deleted inserted replaced
2400:f235cc740c4b 2401:a051aba0037c
1413 } 1413 }
1414 else if (s == "ISO_IR 13" || s == "ISO 2022 IR 13") 1414 else if (s == "ISO_IR 13" || s == "ISO 2022 IR 13")
1415 { 1415 {
1416 encoding = Encoding_Japanese; 1416 encoding = Encoding_Japanese;
1417 } 1417 }
1418 else if (s == "GB18030") 1418 else if (s == "GB18030" || s == "GBK")
1419 { 1419 {
1420 /**
1421 * According to tumashu@163.com, "In China, many dicom file's
1422 * 0008,0005 tag is set as "GBK", instead of "GB18030", GBK is a
1423 * subset of GB18030, and which is used frequently in China,
1424 * suggest support it."
1425 * https://groups.google.com/d/msg/orthanc-users/WMM8LMbjpUc/02-1f_yFCgAJ
1426 **/
1420 encoding = Encoding_Chinese; 1427 encoding = Encoding_Chinese;
1421 } 1428 }
1422 /* 1429 /*
1423 else if (s == "ISO 2022 IR 149") 1430 else if (s == "ISO 2022 IR 149")
1424 { 1431 {