added prefix or postfix
This commit is contained in:
parent
add5fe2372
commit
a24c48bf86
@ -145,13 +145,13 @@ namespace hgl
|
|||||||
hgl::strcpy(charset,CHAR_SET_NAME_MAX_LENGTH,"us-ascii");
|
hgl::strcpy(charset,CHAR_SET_NAME_MAX_LENGTH,"us-ascii");
|
||||||
}
|
}
|
||||||
|
|
||||||
CharSet(uint16 ccp,const char *cs)
|
CharSet(const uint16 ccp,const char *cs)
|
||||||
{
|
{
|
||||||
codepage=ccp;
|
codepage=ccp;
|
||||||
hgl::strcpy(charset,CHAR_SET_NAME_MAX_LENGTH,cs);
|
hgl::strcpy(charset,CHAR_SET_NAME_MAX_LENGTH,cs);
|
||||||
}
|
}
|
||||||
|
|
||||||
CharSet(uint16);
|
CharSet(const uint16);
|
||||||
CharSet(const u8char *);
|
CharSet(const u8char *);
|
||||||
|
|
||||||
CharSet(const CodePageAndCharSet &cs)
|
CharSet(const CodePageAndCharSet &cs)
|
||||||
@ -164,7 +164,7 @@ namespace hgl
|
|||||||
CompOperator(const CharSet &,_Comp)
|
CompOperator(const CharSet &,_Comp)
|
||||||
};//struct CharacterSet
|
};//struct CharacterSet
|
||||||
|
|
||||||
inline CharSet::CharSet(uint16 ccp)
|
inline CharSet::CharSet(const uint16 ccp)
|
||||||
{
|
{
|
||||||
codepage=ccp;
|
codepage=ccp;
|
||||||
hgl::strcpy(charset,CHAR_SET_NAME_MAX_LENGTH,FindCharSet(ccp));
|
hgl::strcpy(charset,CHAR_SET_NAME_MAX_LENGTH,FindCharSet(ccp));
|
||||||
|
@ -12,7 +12,7 @@ namespace hgl
|
|||||||
* 全部Windows所支持代码页请参见 http://msdn.microsoft.com/en-us/library/dd317756
|
* 全部Windows所支持代码页请参见 http://msdn.microsoft.com/en-us/library/dd317756
|
||||||
* https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
|
* https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
|
||||||
*/
|
*/
|
||||||
enum class CharCodePage ///代码页枚举
|
enum class CharCodePage:uint16 ///代码页枚举
|
||||||
{
|
{
|
||||||
NONE=0, ///<起始定义,无意义
|
NONE=0, ///<起始定义,无意义
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user