We probably get the result file like as below.
We can fix this issue easily by enhance the existing code a bit.
from
private void closeFile()
{
textBuffer.toFile(fileName);
CodeAccessPermission::revertAssert();
}
toprivate void closeFile()
{
textBuffer.toFile(fileName, FileEncoding::UTF8);
CodeAccessPermission::revertAssert();
}
The result looks nice eventually.
No comments:
Post a Comment