> then run again test code > > Did you run locale-gen? Yes still get same error plz help again, and thanks a lot in advance, Eric > > > > Not work > > same error, by out << sw2 << endl; > > out.good() is 0 > > and when I use no argument, just ./a.out, error > > can not generate locale > > > > looking to see any experienced c/g++ and ubuntu/linux programer's help > > thanks a lot in advance > > Eric > > > > > >