tmysik commented on a change in pull request #2214:
URL: https://github.com/apache/netbeans/pull/2214#discussion_r445383050
##########
File path:
php/php.symfony2/test/unit/src/org/netbeans/modules/php/symfony2/commands/SymfonyCommandsXmlParserTest.java
##########
@@ -94,61 +96,57 @@ public void testIssue223639() throws Exception {
}
public void testIssue232490() throws Exception {
- Reader reader = new BufferedReader(new FileReader(new
File(getDataDir(), "issue232490.xml")));
+ Reader reader = new BufferedReader(new InputStreamReader(new
FileInputStream(new File(getDataDir(), "issue232490.xml")), "UTF-8"));
Review comment:
A bit better way is `StandardCharsets.UTF_8[.name()]`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists