https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251674

Yuri Victorovich <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std::wcout doesn't print    |std::wcout doesn't print
                   |unicode wide characters     |unicode wide characters:
                   |                            |std::wcout defaults to "C"
                   |                            |locale, not to user's
                   |                            |locale

--- Comment #6 from Yuri Victorovich <[email protected]> ---
With both clang and gcc this line
> std::cout << std::wcout.getloc().name() << std::endl;
shows the locale in std::wcout defaults to "C" when it should default to the
current user's locale.

Without this std::wcout isn't usable from libraries because libraries have to
use the default state of std::wcout and it does not correspond to user's locale
without the top-level program setting it in std::wcout.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to