id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2425,woption_from_option missing some fields,flier.lu@…,Vladimir Prus,"As you known, woption_from_option funtion (parsers.cpp) could convert the char option to a wchar_t option. But it seems missing some fields when construct new object, such as original_tokens and unregistered. To fix, we could add two lines for missed fields woption woption_from_option(const option& opt) { woption result; result.string_key = opt.string_key; result.position_key = opt.position_key; std::transform(opt.value.begin(), opt.value.end(), back_inserter(result.value), bind(from_utf8, _1)); // Missing two fields std::transform(opt.original_tokens.begin(), opt.original_tokens.end(), back_inserter(result.original_tokens), bind(from_utf8, _1)); result.unregistered = opt.unregistered; return result; }",Bugs,closed,Boost 1.37.0,program_options,Boost 1.36.0,Problem,fixed,,