看板 C_Sharp 關於我們 聯絡資訊
用mono 1.1.7 + FC3的console下 使用DirectoryInfo很簡單地列出某目錄下的中文子目錄 竟然都顯示不出來! string[] dd = Directory.GetDirectories("/home/test/"); foreach (string d in dd) { Console.Write(d); } 結果編譯及執行沒有任何error,卻是空然一物!至少印亂碼也行呀! 看來mono還有很長的一段路哩! 本來是想用mono在linux下作一些基本io及檔案處理的 連這樣也不行,實在是... -- 貫徹分享精神 我為人人,人人為我 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.78.132.15 ※ 編輯: tomex 來自: 211.78.132.15 (06/03 15:34)