spec: fix helper func to be multibyte aware
spec: use B