aspose.words 4.4.3, using the following code but when the .doc gets made some of the spaces are replaced with question marks, particularly a lot of spaces in a row. what causes this?
Dim buffer() As Byte
Dim encoder As New System.Text.ASCIIEncoding
Dim str As String = "AllTextHere"
ReDim buffer(str.Length - 1)
encoder.GetBytes(str, 0, str.Length, buffer, 0)
Dim ms As MemoryStream = New MemoryStream(buffer, False)
Dim license As Aspose.Words.License = New Aspose.Words.License
license.SetLicense(Request.ServerVariables("APPL_PHYSICAL_PATH") + "bin\Aspose.Words.lic")
Dim license2 As Aspose.pdf.License = New Aspose.pdf.License
license2.SetLicense(Request.ServerVariables("APPL_PHYSICAL_PATH") + "bin\Aspose.PDF.lic")
Dim WDoc As Aspose.Words.Document = New Aspose.Words.Document(ms)