Merge pull request #919 from neilbalch/CSV-Writer-patch#912
Fix proper UTF-8 encoding for CSV export
This commit is contained in:
commit
fea2497ecc
@ -3,6 +3,7 @@ package net.sf.openrocket.file;
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
import java.io.PrintWriter;
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
@ -48,7 +49,7 @@ public class CSVExport {
|
||||
PrintWriter writer = null;
|
||||
try {
|
||||
|
||||
writer = new PrintWriter(stream);
|
||||
writer = new PrintWriter(stream, false, Charset.forName("UTF-8"));
|
||||
|
||||
// Write the initial comments
|
||||
if (simulationComments) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user