Changeset a379e36


Ignore:
Timestamp:
Aug 18, 2009 2:46:29 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
475187f
Parents:
a9054a3
Message:

more UTF-8 configs

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/TunnelControllerGroup.java

    ra9054a3 ra379e36  
    256256        try {
    257257            fos = new FileOutputStream(cfgFile);
    258             fos.write(buf.toString().getBytes());
     258            fos.write(buf.toString().getBytes("UTF-8"));
    259259            if (_log.shouldLog(Log.INFO))
    260260                _log.info("Config written to " + cfgFile.getPath());
  • router/java/src/net/i2p/router/startup/ClientAppConfig.java

    ra9054a3 ra379e36  
    114114                buf.append(PREFIX).append(i).append(".startOnLoad=").append(!app.disabled).append("\n");
    115115            }
    116             fos.write(buf.toString().getBytes());
     116            fos.write(buf.toString().getBytes("UTF-8"));
    117117        } catch (IOException ioe) {
    118118        } finally {
Note: See TracChangeset for help on using the changeset viewer.