What do you think?

Nov 23, 2009 at 3:38 PM

So if you have used it what do you think?  What should be added?

Oct 2, 2013 at 1:28 PM
hey there,

handy piece of code, good work - just one thing. The line:

string scriptText = File.ReadAllText(fi.FullName);

messes up a lot of non-standard characters (like "¿Ha olvidado su contraseña? Haga clic aquí.") When they get to the database, they've all turned into "????", and everyone is sad (trust me on this)

so, how about, either
string scriptText = File.ReadAllText(fi.FullName, Encoding.Default);

or I've put together an extension whereby you can specify the encoding in the XML config (which drops back to Encoding.Default)


Oct 2, 2013 at 4:58 PM
I have applied the patch with one small change in that if no encoding is specified it doesn't change the current behavior. I have checked in the changes and will look at creating a new Release when I get the time(could be a few days). Let me know if you get a chance to pull latest and test it.