You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/03/17 10:09:01 UTC

[GitHub] [incubator-shardingsphere] yu199195 opened a new issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

yu199195 opened a new issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805
 
 
   ## Bug Report
   https://github.com/apache/incubator-shardingsphere/blob/master/sharding-sql-test/src/main/java/org/apache/shardingsphere/test/sql/loader/SQLCasesLoader.java
   
   
   
   https://github.com/apache/incubator-shardingsphere/blob/master/shardingsphere-sql-parser/shardingsphere-sql-parser-test/src/test/java/org/apache/shardingsphere/sql/parser/integrate/jaxb/SQLParserTestCasesRegistry.java
   
   
   Example  code:
   
   File[] files = new File(url.getPath())
   
   if url has Chinese garbled code ,the files is not exist。

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] yu199195 commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805#issuecomment-600100270
 
 
   @terrymanu  ues  toURI() and  then  URI.getPath()  What do you think? 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805#issuecomment-600369807
 
 
   You should modify it and then try it in your case.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805#issuecomment-600025225
 
 
   Can you submit a pr to fix it.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] yu199195 commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805#issuecomment-600022463
 
 
   @kimmking  No ,on mac  os .  I think this path , use utf-8 decode will better..

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] yu199195 commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805#issuecomment-600025476
 
 
   ok,I will fix it .

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking edited a comment on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

Posted by GitBox <gi...@apache.org>.
kimmking edited a comment on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805#issuecomment-600007751
 
 
   On Windows ?
   If yes, I guess you should turn on longpath option.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] terrymanu closed issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805#issuecomment-600007751
 
 
   On Windows ?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] terrymanu commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #4805: if you put ShadingSphere in Chinese folder,SQLCasesLoader and SQLCasesLoader can not load File
URL: https://github.com/apache/incubator-shardingsphere/issues/4805#issuecomment-600049991
 
 
   > use utf-8 decode will better..
   
   How about if default character is not uft-8?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services