const ctype<char>& ct_de = use_facet<ctype<char> >(locale("de_DE.utf8"));

this line is giving it most probably