more UTF-8 configs

This commit is contained in:
zzz
2009-08-18 14:46:29 +00:00
parent a9054a3cab
commit a379e36e24
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ public class TunnelControllerGroup {
FileOutputStream fos = null;
try {
fos = new FileOutputStream(cfgFile);
fos.write(buf.toString().getBytes());
fos.write(buf.toString().getBytes("UTF-8"));
if (_log.shouldLog(Log.INFO))
_log.info("Config written to " + cfgFile.getPath());
} catch (IOException ioe) {