Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Problem on Compiling

$
0
0

Hello together,

 

I have the following code

 

<code>

private void writeExportLogFile() throws IOException {
   File file = new File(pathToFile, fileName+".LOG");
   StringBuilder fileWriter = new StringBuilder();
   fileWriter.append("Tabelle: " + tableName + "\r\n");
   fileWriter.append("Anzahl exportierter Datensätze: " + exportedRows + "\r\n");
   fileWriter.append("Initialwerte für sonstige Felder unterdrücken: "+ "\r\n");
   
      FileUtils.writeStringToFile(file, fileWriter.toString(), codepage);
}

</code>

 

when i compile this class and run it the ä and ü charcters didn't get printed to the file. There is only a ?

When i compile and run it with eclipse everything is fine. I compile it with JDK 1.6

The FileUtils class is from Apache commons IO.

 

Do you have any suggestions on what could be wrong or where i should look? Ask for any more informations if you need any.

 

Thank you in advance.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>