On 2017-05-03 14:32 +0800, Liu Hao wrote: > On 2017/5/3 14:12, Xi Ruoyao wrote: > > Liu Hao (CCed him) once said his (maybe modified) libstdc++ > > also support locale name "" (empty string). Maybe he can help > > you. > No I didn't modify GCC or libstdc++ source. The "" (empty string) locale > works fine and conforms to the standard on my computer (that is, it is > identical to the "C" locale). So where did you get the code? Libstdc++ in current GCC trunk throw exception for all locales (even if "") except "C". I'll look at the standard. Maybe upstream libstdc++ need a fix for "" locale. -- Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University