DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43852>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43852

           Summary: No encoding support for <junitreport>
           Product: Ant
           Version: 1.7.0
          Platform: All
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


Hi,

I have JUnit test classes with ISO-8859-2 specific characters in their name,
let's say, for example, ááééóó.class (which was compiled with $LANG set to
"hu_HU.ISO8859-2"). After executing the JUnitReport task on ááééóó.class, I've
got, for example, all-tests.html defined with charset US_ASCII (in the META
tag), and including hyperlink references to
"/0_%C3%A1%C3%A1%C3%A9%C3%A9%C3%B3%C3%B3.html", which looks like an URL-encoded
UTF-8 encoding. (Also notice the '/' at the beginning, which makes my browser
want to locate file:///0_<class-name-here>, but I still have the main problem,
because I tested with other pages too.) My browser couldn't find that file,
probably because $LANG is different to UTF-8, and i can tell for sure that I
have a 0_ááééóó.html in the HTML output directory just the way it should be.

Can you add support for HTML output encoding, perhaps with using system property
'file.encoding' or what is better, please?

Thanks in advance.

Ui.: I don't think this to be a high priority issue, since there is a belief
that a real software developer should use English-only symbol names anyway. I
just don't like limiting myself to a specific character set when Java can handle
encodings properly.

Additionally, though I have no problems with <junit> XML encoding, since it is
encoded properly in UTF-8, however, someone might need the ability to change XML
encoding. Probably it's a good idea to consider this too.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to