Bug#1056302: FreeBSD/iconv: ISO 2022 IR 13\ISO 2022 IR 87

2024-07-08 Thread Mathieu Malaterre
Control: fixed -1 3.6.8-5

On Mon, Nov 20, 2023 at 9:57 AM Mathieu Malaterre  wrote:
>
> Source: dcmtk
> Version: 3.6.8~git20231027.1549d8c-2
>
> Somewhat related to #988644.
>
> Steps:
>
> % curl -O https://dclunie.com/images/charset/charsettests.20070405.tar.bz2
> % tar xf charsettests.20070405.tar.bz2
> % cp charsettests/SCSH32 new.dcm
> % dcmodify -i "0018,1020=123\456" new.dcm
>
> Gives
>
>  % dcmdump +U8 new.dcm | grep "0018,1020\|0010,0010"
> (0010,0010) PN [ヤマダ^タロウ=山田^太郎=やまだ^たろう] #  56, 1 PatientName
> (0018,1020) LO [123¥456]   #   8, 1 
> SoftwareVersions
>
> It has been confirmed by upstream that this is a bug. Patch is under review

% dcmdump +U8 new.dcm | grep "0018,1020\|0010,0010"
(0010,0010) PN [ヤマダ^タロウ=山田^太郎=やまだ^たろう] #  56, 1 PatientName
(0018,1020) LO [123\456]#   8, 2
SoftwareVersions



Bug#1056302: FreeBSD/iconv: ISO 2022 IR 13\ISO 2022 IR 87

2023-11-20 Thread Mathieu Malaterre
Source: dcmtk
Version: 3.6.8~git20231027.1549d8c-2

Somewhat related to #988644.

Steps:

% curl -O https://dclunie.com/images/charset/charsettests.20070405.tar.bz2
% tar xf charsettests.20070405.tar.bz2
% cp charsettests/SCSH32 new.dcm
% dcmodify -i "0018,1020=123\456" new.dcm

Gives

 % dcmdump +U8 new.dcm | grep "0018,1020\|0010,0010"
(0010,0010) PN [ヤマダ^タロウ=山田^太郎=やまだ^たろう] #  56, 1 PatientName
(0018,1020) LO [123¥456]   #   8, 1 SoftwareVersions

It has been confirmed by upstream that this is a bug. Patch is under review.