Unicode strings for server error page

Seems related to #2900. @sarina, could you review?