Today I tried to build PDFsharp-1_50-beta3b but got some errors:
"some bytes have been replaced with the unicode substitution character while loading file".
I am using Windows 10 version 1511 Chinese locale, Visual Studio 2015 Update 1.
It turns out there are some non-ANSI char in 2 source files.
I fixed the errors by the following code changes:
\PDFsharp\src\PdfSharp\Drawing.BarCodes\DataMatrixImage.cs :
Line 240 to
Code:
s3 = "`abcdefghijklmnopqrstuvwxyz{|}~\u00b1";
Line 245 to
Code:
s3 = "`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~\u00b1";
\PDFsharp\src\PdfSharp\Pdf.IO\Chars.cs :
Line 181 to:
Code:
public const char SoftHyphen = '\u00AD'; // char(173)
Line 185 to:
Code:
public const char Currency = '\u00A4';
Could you please review my code changes?