java - how to handle different language in file/folder path -



java - how to handle different language in file/folder path -

i have written application takes folder path , perform operation. if folder path contains characters of language other english language not working. back upwards english language characters. how handle problem?

theoretically should work. practically in cases problem of passing parameters shell java application. seek verify works correctly: run application command prompt doing remote debugging. create breakpoint in code reading parameter , see value. believe value corrupted @ phase. typical problem if on windows.

in case have configure scheme back upwards unicode characters in command prompt correctly.

if path read correctly command line seek go on debugging , see broken. check separator using. avoid using both / , \, utilize file.separator instead.

java special-characters non-english

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -