creating a new iptc profile and adding some content leads often to not readable iptc section. I found out, that the length of fields ist not correct in that cases. See attachement field caption.
Code to reproduce:
```
foreach (var profileName in image.ProfileNames)
image.RemoveProfile(profileName);
image.Format = MagickFormat.Jpeg;
var iptcProfile = new IptcProfile();
iptcProfile.SetValue(IptcTag.Headline, titel.EntferneSonderzeichen());
iptcProfile.SetValue(IptcTag.SpecialInstructions, folgentitel.EntferneSonderzeichen());
iptcProfile.SetValue(IptcTag.CreatedDate, sendetag.ToString("yyyMMdd"));
iptcProfile.SetValue(IptcTag.Country, (sendetag + beginn).ToShortTimeString());
iptcProfile.SetValue(IptcTag.City, "KiKA");
var encoding = bild.Copyright.EntferneSonderzeichen();
iptcProfile.SetValue(IptcTag.Credit, encoding?? "Keine Copyright Informationen.");
iptcProfile.SetValue(IptcTag.Source, bild.Autor.EntferneSonderzeichen() ?? "");
iptcProfile.SetValue(IptcTag.Title, string.Join(" ", new[]
{
titel.EntferneSonderzeichen(),
sendetag.ToShortDateString()
}));
iptcProfile.SetValue(IptcTag.Caption, string.Join(" ", new[]
{
bild.Untertitel.EntferneSonderzeichen() ?? "",
bild.Abdruckhinweis.EntferneSonderzeichen() ?? ""
}));
iptcProfile.SetValue(IptcTag.Keyword,
string.Join(", ", bild.Schlagworte ?? Enumerable.Empty<SchlagwortBox>()));
iptcProfile.SetValue(IptcTag.CopyrightNotice, bild.Abdruckhinweis.EntferneSonderzeichen() ?? "");
image.AddProfile(iptcProfile);
image.SaveTo(_fileSystem, zielPfad);
```
Comments: ** Comment from web user: dlemstra **
Code to reproduce:
```
foreach (var profileName in image.ProfileNames)
image.RemoveProfile(profileName);
image.Format = MagickFormat.Jpeg;
var iptcProfile = new IptcProfile();
iptcProfile.SetValue(IptcTag.Headline, titel.EntferneSonderzeichen());
iptcProfile.SetValue(IptcTag.SpecialInstructions, folgentitel.EntferneSonderzeichen());
iptcProfile.SetValue(IptcTag.CreatedDate, sendetag.ToString("yyyMMdd"));
iptcProfile.SetValue(IptcTag.Country, (sendetag + beginn).ToShortTimeString());
iptcProfile.SetValue(IptcTag.City, "KiKA");
var encoding = bild.Copyright.EntferneSonderzeichen();
iptcProfile.SetValue(IptcTag.Credit, encoding?? "Keine Copyright Informationen.");
iptcProfile.SetValue(IptcTag.Source, bild.Autor.EntferneSonderzeichen() ?? "");
iptcProfile.SetValue(IptcTag.Title, string.Join(" ", new[]
{
titel.EntferneSonderzeichen(),
sendetag.ToShortDateString()
}));
iptcProfile.SetValue(IptcTag.Caption, string.Join(" ", new[]
{
bild.Untertitel.EntferneSonderzeichen() ?? "",
bild.Abdruckhinweis.EntferneSonderzeichen() ?? ""
}));
iptcProfile.SetValue(IptcTag.Keyword,
string.Join(", ", bild.Schlagworte ?? Enumerable.Empty<SchlagwortBox>()));
iptcProfile.SetValue(IptcTag.CopyrightNotice, bild.Abdruckhinweis.EntferneSonderzeichen() ?? "");
image.AddProfile(iptcProfile);
image.SaveTo(_fileSystem, zielPfad);
```
Comments: ** Comment from web user: dlemstra **
I cannot reproduce your issue. And I don't understand what is wrong with the values in your example file. The only one that looks wrong is 'Untertitel Mama Muh mchte Schwimmen'. It looks like mchte is missing the 'ö'.
I contacted you through CodePlex with some questions. Can you reply to that e-mail?