I am trying to pipe some unicode characters from Python to Java.
Python Code:
Thai = U "command =" Java - Junk TokenIsser. "+ Thai P = Sbprosek. Popen (command, Stdaut = Sbproses Kpeepii, Stdin = Sbproses Kpeepii, Stderr = subprocess.PIPE)
I have them in Java results Toknijhr were different when I went in Java: กลับ บ้าน ใน คืน นี้ "ThaiAnalyzer ana = new Thaianlizhr (); Anakanalyze (Thai)} vs. I believe that it is an encoding problem My little Java code because I have now Code is not I'm trying to say for example if I pipe this string to pipe it from java to java me If I had to use the pre-system and the latter method might be something like my question Due to the difference in output results, I am using English to clarify my problem. args [] 'm making code> of the pipe to the scheme.
[public static void main (string] Arges) {string Thai = "ฉัน จะ"
public static void main (String [] Arges) {string Thai; Thai = Arges [0] // "ฉัน จะ กลับ บ้าน ใน คืน นี้" (the string should be passed to Python) Thai Analizhr Ana = new Thaianlizhr (); Ana.analyze (forgive args [0])}
"I'm home I am going "
" hi "," me "," am "," go "," home "
/> can end with
"hi i", "am", "go home" / code>
No comments:
Post a Comment