id summary reporter owner description type status milestone component version severity resolution keywords cc 1645 Invalid unicode support for default_value anonymous Vladimir Prus "The following example could not be compiled: ================================================================= #include #include namespace po = boost::program_options; int main() { std::wstring test; po::options_description desc(""Allowed options""); desc.add_options() (""test"", po::wvalue(&test)->default_value(L""value""), ""description""); } ================================================================= It is due to wvalue::default_value tries to do lexical_cast(std::wstring). Also I cannot change default_value to default_value(""value"") as soon as it accepts only something convertible to std::wstring. In other words it is impossible to specify default_value for wstring option." Bugs closed Boost 1.36.0 program_options Boost 1.34.1 Problem wontfix s.ochsenknecht@…