看板 [ Flash ]
討論串[問題] flash與java中文字互傳會亂碼
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓5(5推 0噓 6→)留言11則,0人參與, 最新作者laugher (.。oO)時間17年前 (2008/08/04 20:17), 編輯資訊
0
0
0
內容預覽:
解出來了. 首先先要在flash裡設定. System.useCodepage = true;. 接下來在java中,要設定 charset 成 big5. new BufferedReader(new InputStreamReader(Socket.getInputStream(), "big5

推噓4(4推 0噓 3→)留言7則,0人參與, 最新作者laugher (.。oO)時間17年前 (2008/08/04 18:05), 編輯資訊
0
0
0
內容預覽:
在 flash 中,我以. xmlsocket.send("中文字");. 傳至用 java 建立的 XML Server. 在 java 中,以. new BufferedReader(new InputStreamReader(Socket.getInputStream());. 接收 flas
首頁
上一頁
1
下一頁
尾頁