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,10 +1,10 @@
|
||||
//-----------------------------------------------------------------------------+
|
||||
//-----------------------------------------------------------------------------+
|
||||
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
||||
// = FileName : TUString.h
|
||||
// = Version : ver2.0
|
||||
// = Author : xlc
|
||||
// = CreateDate : 2002-09-09
|
||||
// = Description: 通用字符串类的声明
|
||||
// = Description: 通用字符串类的声明
|
||||
// = Maintainers:
|
||||
//
|
||||
//-----------------------------------------------------------------------------+
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "TArray.h"
|
||||
#endif
|
||||
|
||||
//通用字符串类,以NULL结尾
|
||||
//通用字符串类,以NULL结尾
|
||||
class GEOAPI TUString : public TArray<wchar_t>
|
||||
{
|
||||
public:
|
||||
@@ -106,7 +106,7 @@ public:
|
||||
|
||||
bool IsFloatNumber() const;
|
||||
|
||||
//字母变大写
|
||||
//字母变大写
|
||||
void MakeUpper();
|
||||
|
||||
void Reverse(long start = 0, long to = -1);
|
||||
@@ -119,7 +119,7 @@ public:
|
||||
|
||||
long Find(const TUString &s, TQuene<long> &quene, long from = 0, long to = -1) const;
|
||||
|
||||
//支持通配符的查找替换
|
||||
//支持通配符的查找替换
|
||||
long FindEx(const TUString &sFindRule, TUString &res, int flag = 0, long from = 0, long to = -1) const;
|
||||
|
||||
long Replace(const TUString &s, const TUString &d, long from = 0, long to = -1);
|
||||
|
||||
Reference in new issue
Block a user