size_t updated for unicode stdstring