Bug fix from Robert de Bath: if wc_to_mb returns a length of zero, it