Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Fix Version/s: 2.3
-
Labels:None
-
Environment:window xp chinese version
jdk-1.5.0_12
-
Number of attachments :
Description
The default encoding of my os is GBK, but the encoding of source files is UTF-8.
The java.io.FileReader will use the default encoding of the os, then taglist report cannot get the correct result.
Could we have a parameter to set the encoding of the source files? thanks.
Issue Links
- is related to
-
MNG-2216
Add default encodings section to POM
-
Activity
Benjamin Bentmann
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | MTAGLIST-27.zip [ 31930 ] | |
| Attachment | source-encoding.patch [ 31929 ] |
Herve Boutemy
made changes -
Herve Boutemy
made changes -
| Fix Version/s | 2.3 [ 14194 ] | |
| Assignee | Herve Boutemy [ hboutemy ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Fix attached. Also attached is a mini project to verify its function. The source file uses UTF-8 and contains the tag "TÖDÖ". The taglist report will not list this occurrence if the wrong encoding is used (e.g. Latin-1).