Donate Share

HelpSetMaker

Tracker: Bugs

5 UTF-8 export errors - ID: 1776802
Last Update: Comment added ( czarek_t )

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");


Czarek Tarnowski ( czarek_t ) - 2007-08-18 12:20

5

Open

None

Nobody/Anonymous

Interface (example)

None

Public


Comment ( 1 )




Date: 2007-08-18 16:54
Sender: czarek_t


Sorry for mistake, in Document.java it should by content-type with
encoding not ?xml tag


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.