UTF-8 export errors
Brought to you by:
dirkhillbrecht
Even if UTF-8 is set as default project encoding and charset of exported files there are errors in output files. STML is correctly encoded. In order to get it work properly I belive that you should change file OutputCreatorThread.java line 70 to:
return new InputStreamReader(new BufferedInputStream(new FileInputStream(peng.getAbsoluteSTMLFilename(dtn))),charset);
and also add this code near line 207 in Document.java:
if(mode == PrintModes.HELPSET)
w.write("<?xml version='1.0' encoding='"+charset+"' ?>\n");
Logged In: YES
user_id=1770932
Originator: YES
Sorry for mistake, in Document.java it should by content-type with encoding not ?xml tag
Same problem here.
This is very annoying to solve - if you aren't programmer, otherwise it is quiet simple task
Thanks to czarek_t for solution!
And why are meta-tags like charset/author/date skipped from helpset files at all?
Q.