You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
362 B
C++
18 lines
362 B
C++
2 years ago
|
/*
|
||
|
* Author: Jun0x01@github.com
|
||
|
* Date: 2019.05.11
|
||
|
*/
|
||
|
#include "UGStrConvertor.h"
|
||
|
|
||
|
//using namespace SuperMap;
|
||
|
string UGStrConvertor::Tostring(const UGString &ugstr, OGDCCharset::Charset charset /*= OGDCCharset::UTF8*/)
|
||
|
{
|
||
|
UGMBString mbStr;
|
||
|
mbStr.m_nCharset = charset;
|
||
|
ugstr.ToMBString(mbStr);
|
||
|
|
||
|
string str(mbStr.Cstr());
|
||
|
return str;
|
||
|
|
||
|
}
|