public void AppendText(String filename, String stringtoappend)
{
BufferedWriter bw = null;
try
{
bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(filename, true), "UTF-8"));
bw.write(stringtoappend);
bw.newLine();
ret = true;
}
catch (IOException ex)
{
}
finally
{
if (bw != null)
{
bw.flush();
bw.close();
}
}
}