- std::string aName = string(VARIABLE_ID())->value();
- data()->setName(Locale::Convert::toWString(aName));
+ std::wstring aName = string(VARIABLE_ID())->isUValue() ?
+ Locale::Convert::toWString(string(VARIABLE_ID())->valueU()) :
+ Locale::Convert::toWString(string(VARIABLE_ID())->value());
+ data()->setName(aName);