The Artima Developer Community
Sponsored Link

Java Answers Forum
How to execute an external file in java,where the file name is in Unicode ?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Suryakanta Panda

Posts: 2
Nickname: suryakanta
Registered: Oct, 2006

How to execute an external file in java,where the file name is in Unicode ? Posted: Oct 16, 2006 3:38 AM
Reply to this message Reply
Advertisement
How to execute an external file, where the file name is in unicode language (for example Chinese font).

As, the window OS supports unicode language we can save it as also any unicode language.Suppose we save a file in Chinese fonts.
But while we trying to execute the file through Runtime.getRuntime ().exec ("path\\filename"); , if the file name is in Chinese character then it converts to ?????.extension .
So the file can't found to execute. Is there any solution to execute the files where the file names are in Chinese font ?

Topic: I am new and need help with objects and classes Previous Topic   Next Topic Topic: Using java from command line

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use