none
MSWord special characters when viewing .docx as .txt RRS feed

  • Question

  • I am writing an encryption program to become more familiar with MVB (2010).  What it does is take each character in a file, convert it into ASCII, perform calculations on the ASCII value and then write to a file. (I change the extension from .docx to .txt, encrypt, decrypt, change extension from .txt to .docx)

    The issue that I get is when taking the file from the encrypted state to the original.  When I look at the before and after .txt values, they do not match up (I have tested the program on standard text with no issues).  After doing a little looking, it seems that the special characters that show up when converting .docx to .txt are not all ASCII characters.  Does anyone know anything about this, where to find information about the characters, or anything else?  I won't ask for help incorporating this into my program, I just need to find any information I can.  So far, internet searches have not been a help at all.

    Thanks,

    choytw

    Tuesday, May 1, 2012 8:34 PM

Answers

All replies