WillemJiang commented on a change in pull request #670: [SCB-512] download 
support chinese and space in file name
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/670#discussion_r183285278
 
 

 ##########
 File path: 
demo/demo-springmvc/springmvc-client/src/main/java/org/apache/servicecomb/demo/springmvc/client/CodeFirstRestTemplateSpringmvc.java
 ##########
 @@ -113,7 +113,7 @@ protected void testAllTransport(String microserviceName, 
RestTemplate template,
 
   private void testUpload(RestTemplate template, String cseUrlPrefix) throws 
IOException {
     String file1Content = "hello world";
-    File file1 = File.createTempFile("upload1", ".txt");
+    File file1 = File.createTempFile("测 试", ".txt");
 
 Review comment:
   we may using UTF encoding otherwise there could be some compile errors if 
the OS don't support GBK.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to