save_c_utf8: fix -switch utf8, cast signed to unsigned

add varname arg to memcmp helpers for su (unsigned string)