Search found 3 matches

by Fabian.Guenther
Fri, 2024-03-08, 16:18
Forum: DCMTK - General
Topic: Character conversion does not fail when characters cannot be converted
Replies: 5
Views: 289

Re: Character conversion does not fail when characters cannot be converted

Thank you for creating a ticket for this. The faulty character set translation table is surprising coming from FreeBSD.

Do you (or Offis) have plans on reporting this to the FreeBSD Foundation or are you simply going to fix the tables on your end?
by Fabian.Guenther
Thu, 2024-03-07, 14:49
Forum: DCMTK - General
Topic: Character conversion does not fail when characters cannot be converted
Replies: 5
Views: 289

Re: Character conversion does not fail when characters cannot be converted

Here is a sample code snippet: OFCharacterEncoding encoding; OFCondition res = encoding.selectEncoding(OFString("UTF-8"), OFString("ISO-8859-2")); OFString fromString("\xce\x91\xce\xbb\xce\xad\xce\xbe\xce\xb7\xcf\x82"); OFString toString(""); res = encoding.co...
by Fabian.Guenther
Thu, 2024-03-07, 13:36
Forum: DCMTK - General
Topic: Character conversion does not fail when characters cannot be converted
Replies: 5
Views: 289

Character conversion does not fail when characters cannot be converted

I have an issue when trying to convert between character sets with characters that have no representation in the target character set. This happens in DCMTK 3.6.8 when using the new oviconv conversion and was working as expected in DCMTK 3.6.7 with libiconv. Affects usage through the OFCharacterEnco...