Add unicode support to syshs.c.