Hi,
I’m trying to convert a word document to text, and getting strange symbols which would not get if I were converting using Word automation.
Here is the relevant part of my code:
TxtSaveOptions txtSaveOptions = new TxtSaveOptions();
txtSaveOptions.Encoding = Encoding.Default;
doc.Save(firstStream, txtSaveOptions);
I’ve attached an example files with the symbols I get in Aspose VS word, you can see the symbol in a hex editor, or any compare tool. I use Beyond Compare.
Here are some more strange symbols Aspose would give me (in red):
Surname: WHITE.br\First Name: SNOW.br.br\D.O.B: 13/12/1970.br\Sex: Female.br\ .br.br.br.br.br\Medical Record â€" Radiology Department .br\Radiology Report.br.br.br\ .br\Referring Consultant: Darth Vader.br\Referring Service: Community.br\Referrer’s Address: .br
I have to somehow avoid getting these symbols. and since I don’t know how many and which of them I can get, I don’t want to solve this issue replacing them.
I would very appreciate your help.
Thanks, Dim.