chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
This commit is contained in:
1 parent
2b0c2055ff
commit
164968b62e
6171 files changed
+191244
-191243
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#include "stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "dbobjptr.h "
|
||||
#include "CoreTools.h"
|
||||
|
||||
@@ -391,7 +391,7 @@ namespace
|
||||
// errStat = acedEntSel(ACRX_T("\n Pick a solid\n"), ent_name, asDblArray(pickPnt));
|
||||
// break;
|
||||
// case AcDb::kFaceSubentType:
|
||||
// errStat = acedEntSel(ACRX_T("\n 请拾取一个面:\n"), ent_name, asDblArray(pickPnt));
|
||||
// errStat = acedEntSel(ACRX_T("\n 请拾取一个面:\n"), ent_name, asDblArray(pickPnt));
|
||||
// break;
|
||||
// case AcDb::kEdgeSubentType:
|
||||
// errStat = acedEntSel(ACRX_T("\n Pick an edge\n"), ent_name, asDblArray(pickPnt));
|
||||
@@ -924,11 +924,11 @@ namespace
|
||||
//else if (pSurface->isKindOf(AcGe::kNurbSurface))
|
||||
//{
|
||||
// AcGeNurbSurface *nurbGeometry = (AcGeNurbSurface*)pSurface;
|
||||
// acutPrintf(_T("\n暂不支持此类曲面!"));
|
||||
// acutPrintf(_T("\n暂不支持此类曲面!"));
|
||||
//}
|
||||
else
|
||||
{
|
||||
acutPrintf(_T("\n暂不支持此类曲面!"));
|
||||
acutPrintf(_T("\n暂不支持此类曲面!"));
|
||||
bRel = false;
|
||||
}
|
||||
|
||||
@@ -1490,7 +1490,7 @@ bool BrepOper::getPlaneByBrepFace(const AcBrFace *pFace, AcGePlane &plan)
|
||||
|
||||
if (suType != AcGe::kPlane)
|
||||
{
|
||||
acutPrintf(_T("\n所选面必须是平面!"));
|
||||
acutPrintf(_T("\n所选面必须是平面!"));
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1559,9 +1559,9 @@ bool BrepOper::selectSubentPaths(LPCTSTR filter
|
||||
#else
|
||||
CString str;
|
||||
if (subType == AcDb::kFaceSubentType)
|
||||
str = _T("\n中望用户请再选择一次面:");
|
||||
str = _T("\n中望用户请再选择一次面:");
|
||||
else if (subType == AcDb::kEdgeSubentType)
|
||||
str = _T("\n中望用户请再选择一次边:");
|
||||
str = _T("\n中望用户请再选择一次边:");
|
||||
|
||||
LPCTSTR prompts[] = { str, _T("") };
|
||||
int nRet = acedSSGet(_T("_:V:S:$"), prompts, NULL, pRb, ss);
|
||||
@@ -1727,7 +1727,7 @@ namespace
|
||||
ads_name ent, ss;
|
||||
ads_point adsPt;
|
||||
|
||||
LPCTSTR pszMsg[] = { _T("\n选择一个三维实体:"), _T("")};
|
||||
LPCTSTR pszMsg[] = { _T("\n选择一个三维实体:"), _T("")};
|
||||
struct resbuf *pRb = acutBuildList(RTDXF0, _T("3DSOLID"), 0);
|
||||
#ifdef ZWCAD
|
||||
int nRes = acedSSGet(_T("_:V:S:$"), pszMsg, NULL, pRb, ss);
|
||||
@@ -1756,7 +1756,7 @@ namespace
|
||||
{
|
||||
ads_name ent, ss;
|
||||
ads_point adsPt;
|
||||
LPCTSTR pszMsg[] = { _T("\n选择一个3dPolyline:"), _T("") };
|
||||
LPCTSTR pszMsg[] = { _T("\n选择一个3dPolyline:"), _T("") };
|
||||
//struct resbuf *pRb = acutBuildList(RTDXF0, _T("3DSOLID"), 0);
|
||||
int nRes = acedEntSel(NULL, ent, adsPt);
|
||||
if (nRes != RTNORM) return;
|
||||
|
||||
Reference in new issue
Block a user