简体   繁体   中英

Powershell string to Java string conversion [closed]

I am trying to convert a Powershell string to a Java string so that it will be printed out in a Java GUI. Going directly from Powershell string to Java string using a ToString type of conversion has not worked for me.

I am currently thinking of converting a Powershell string into hex code then converting the hex code into a Java string. Are there any better ways of doing it? (Note: The strings that I want to convert are alphabetical words, not numbers.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM