[問題] Ptt圖片亂碼
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
gcc 5.2.0 Linux Manjaro 15.09
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
none
問題(Question):
現在想寫一個讀取ptt的C語言程式
但ptt入口的圖顯示的不漂亮 如下圖:
https://imgur.com/dZFls5C
而且輸入帳號的那一行也顯示不出來
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
http://codepad.org/GYcWfu89
補充說明(Supplement):
其實用telnet或是ssh圖片顯示也是有問題
https://imgur.com/6KoS32Q
執行時要加參數如: $./a.out ptt.cc abc 23
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.248.70
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1446240033.A.34D.html
推
10/31 17:45, , 1F
10/31 17:45, 1F
→ 從沒想過,謝謝你的提醒,但我仍不知道該怎辦,
我需要將 全部的資料接收完再顯示嗎? 10/31 19:29
※ 編輯: RishYang (140.112.4.190), 10/31/2015 19:37:43
→
10/31 20:42, , 2F
10/31 20:42, 2F
→
10/31 20:42, , 3F
10/31 20:42, 3F
→
10/31 20:43, , 4F
10/31 20:43, 4F