Could it be that in file
PDFSharp-MigraDocFoundation-1_31\PDFsharp\code\PdfSharp\PdfSharp.Pdf.Internal\RawEncoding.cs
line 56: Debug.Assert((uint)chars[charIndex] < 256, "Raw string contains invalid character with a value > 255.");
should be
Debug.Assert((uint)chars[charIndex]
> 256, "Raw string contains invalid character with a value >
256.");
?
The Problem happens when I try to save a pdf with a Unicode character in its name (WindowsXP 32bit). I don't really know if or where this function is used otherwise, but the change removed the annoying Dialog that popped up everytime I tried to save a pdf