Fix string_manip.h

copy_escape_html() shouldn't depend on locale. It should encode
every string which is not ascii digit or alphabetic symbol.

In particular, this doesn' work on  OpenIndiana with g++ 4.7.3.