Open GoogleCodeExporter opened 9 years ago
Original comment by iulian.b...@gmail.com
on 15 Jul 2009 at 3:32
Original comment by cipriant...@gmail.com
on 17 Aug 2009 at 12:08
Changed priority to minor.
Original comment by cipriant...@gmail.com
on 17 Aug 2009 at 12:08
[deleted comment]
Hi, I have the same problem on MAC OS X. I was able to fix the problem. Patch
is here:
Index: src/com/google/code/osmandroidconverter/main/MapBuilder.java
===================================================================
--- src/com/google/code/osmandroidconverter/main/MapBuilder.java (revision 37)
+++ src/com/google/code/osmandroidconverter/main/MapBuilder.java (working copy)
@@ -6,6 +6,8 @@
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
+import java.io.OutputStreamWriter;
+import java.nio.charset.Charset;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
@@ -497,7 +503,7 @@
try {
- dataOut = new BufferedWriter(new FileWriter(path));
+ dataOut = new BufferedWriter(new OutputStreamWriter(new
FileOutputStream(path),Charset.forName("UTF-8")));
Iterator it = nameRecords.keySet().iterator();
while (it.hasNext()) {
Original comment by tibor.arpas
on 15 Sep 2010 at 3:54
Original issue reported on code.google.com by
cipriant...@gmail.com
on 8 Jul 2009 at 8:07Attachments: