The way to do this is to
 
a) make a custom codecvt facet for the i/o stream.
b) open an instance of the output/input stream with this codecvt facet
c) use this stream when creating save/loading archives
d) use as normal.
 
boost iostreams might provide another way to do this.
 
boost serialization has code in it for encoding/decoding
data as base64.  This code would be used to implement
the codecvt facet as described above.
 
Robert Ramey
 
 
Sean Farrow wrote:
> Hi:
> Is there a way of telling boost serialization to encode everything to
> base64 when encoding to xml.
> We are using std::wstring primarily.
> Any help appreciated.
> Cheers
> Sean.
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users