We tried to export a text string that contained a █ character to a PDF file inside a .Net Framework 5 C# project.
When we save the PDF we get a “Object reference not found” error.
However, when we convert the █ character to - for instance - a letter like an “X” the PDF is generated without any issues.
Is there a way to workaround this issue and be able to include these special characters?
Unfortunately I’m not able to do that.
Some additional information that might be of help: we are running .Net 5 inside a Linux container (Debian).
When I remove the █ characters the code above runs without issue, keeping it in returns a “Object reference not set to an instance of an object”