http://topic.csdn.net/u/20100624/11/81e22a62-af5f-4990-9e1f-c0a0c2ba3a15.html

 weka资料http://forum.wekacn.org/viewtopic.php?f=6&t=279

以及我的百度转帖

关于std::fstream以及std::ifstream打开中文路径名失败的问题和解决方法

 //设置代码页为简体中文,936是简体中文的代码页。
    std::locale loc1 = std::locale::global(std::locale(".936"));
{
    
// 在这里使用std::ifstream 或者 std::fstream
}
 

    
//恢复原来的代码页
    std::locale::global(std::locale(loc1));

posted on 2010-08-26 10:03  finallyly  阅读(357)  评论(0编辑  收藏  举报