Logo

std::string wstring_2_string const std::wstring &  str  ) 
 

converts a unicode string into an MBCS string

This is used to help print unicode strings to ansi streams

Parameters:
str - [in] unicode string
Returns:
MBCS string

Definition at line 53 of file sapi_util.cpp.

00054 {
00055     bstr_t bst = str.c_str();
00056     std::string ret = bst;
00057     return (ret);
00058 }


Copyright (C) 2002-2005 Annosoft LLC. All Rights Reserved.
Visit us at www.annosoft.com