Re: [Boost-bugs] [Boost C++ Libraries] #9220: Allow using widechar along with narrowchar without creating separated streams

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9220: Allow using widechar along with narrowchar without creating separated streams
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-10 10:39:38


#9220: Allow using widechar along with narrowchar without creating separated
streams
-------------------------------+----------------------------------------
  Reporter: mntmnt7@… | Owner: andysem
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: log
   Version: Boost 1.54.0 | Severity: Problem
Resolution: fixed | Keywords: log wchar_t wstring string
-------------------------------+----------------------------------------
Changes (by andysem):

 * status: new => closed
 * resolution: => fixed

Comment:

 You can just always use wlogger. Just don't forget to setup a proper
 locale in the sink so that wide characters are converted to narrow chars
 correctly when storing to files.

 You can also output wide strings to narrow loggers, but in this case you
 don't have the control over the locale in the stream.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9220#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC