Details
-
Type:
Test
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.3.6
-
Fix Version/s: None
-
Component/s: Testing
-
Labels:None
-
Environment:Grails 1.3.6
Description
The Unit Test source code is using UTF-8.In the plain and XML test reports,Chinese log.info is OK,eg log.info("测试")
But in HTML test report, the Chinese log.info can not be showed correctly.
The solution is :
In GrailsHome/lib/junit-frames.xsl and junit-noframes.xsl:
<xsl:output method="html" indent="yes" encoding="US-ASCII"/>
//changed to:
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Confirmed. This also happen with Thai, too. (And of cause, it should be with any language using non-ascii character.)