Opened 16 years ago
Last modified 5 years ago
#859 closed Bugs (fixed)
boost::format ignores a user defined locale — at Version 2
Reported by: | nobody | Owned by: | Samuel Krempp |
---|---|---|---|
Milestone: | Component: | format | |
Version: | Boost 1.34.0 | Severity: | Problem |
Keywords: | Cc: | jonathan.jones@… |
Description (last modified by )
Altough someone can supply a user locale to boost::format, it isn't recognized. const std::locale& userLocale = getUserLocale(); boost::format formatter (formatString, userLocale); I could fix the problem in feed_args.hpp, function put, line 133 (boost 1.33.1): 133 basic_oaltstringstream<Ch, Tr, Alloc> oss( &buf); + if (loc_p) + { + oss.imbue (*loc_p); + }
Change History (2)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Severity: | → Problem |
Status: | assigned → new |
comment:2 by , 15 years ago
Component: | None → format |
---|---|
Description: | modified (diff) |
Note:
See TracTickets
for help on using tickets.