taliesins/talifun-web — pull request #4 by tapmantwo (2012-11-27 10:07:52+00:00)
Title: Encoding problem in the output files

Hi,

When testing with our multinational solution, we noticed that the output files were not encoded correctly to allow cyrillic characters.

On investigation, I noticed that the reading of the files was explicitly using UTF8 encoding, but the writing of the files (in the RetryableFileWriter) was using Encoding.Default, which uses the system code page.

I have changed the encoding to UTF8, and moved the initialisation to the constructor, so if it needs changing again it only needs to be done in one place.

Thanks

Richard