mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Refer bugscape 7195, same change here.
This commit is contained in:
parent
5690877799
commit
9f0ef21434
@ -203,5 +203,5 @@ SequenceModel Win1251BulgarianModel =
|
||||
win1251BulgarianCharToOrderMap,
|
||||
BulgarianLangModel,
|
||||
PR_FALSE,
|
||||
"Windows-1251"
|
||||
"windows-1251"
|
||||
};
|
||||
|
@ -272,7 +272,7 @@ SequenceModel Win1251Model =
|
||||
win1251_CharToOrderMap,
|
||||
RussianLangModel,
|
||||
PR_FALSE,
|
||||
"Windows-1251"
|
||||
"windows-1251"
|
||||
};
|
||||
|
||||
SequenceModel Latin5Model =
|
||||
|
@ -202,5 +202,5 @@ SequenceModel Win1253Model =
|
||||
win1253_CharToOrderMap,
|
||||
GreekLangModel,
|
||||
PR_FALSE,
|
||||
"Windows-1253"
|
||||
"windows-1253"
|
||||
};
|
||||
|
@ -200,5 +200,5 @@ SequenceModel Win1250HungarianModel =
|
||||
win1250HungarianCharToOrderMap,
|
||||
HungarianLangModel,
|
||||
PR_TRUE,
|
||||
"Windows-1250"
|
||||
"windows-1250"
|
||||
};
|
||||
|
@ -134,7 +134,7 @@ SMModel EUCJPSMModel = {
|
||||
6,
|
||||
{eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, EUCJP_st },
|
||||
EUCJPCharLenTable,
|
||||
"EUCJP",
|
||||
"EUC-JP",
|
||||
};
|
||||
|
||||
static PRUint32 EUCKR_cls [ 256 / 8 ] = {
|
||||
@ -186,7 +186,7 @@ SMModel EUCKRSMModel = {
|
||||
4,
|
||||
{eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, EUCKR_st },
|
||||
EUCKRCharLenTable,
|
||||
"EUCKR",
|
||||
"EUC-KR",
|
||||
};
|
||||
|
||||
static PRUint32 EUCTW_cls [ 256 / 8 ] = {
|
||||
|
@ -33,7 +33,7 @@ public:
|
||||
Reset(); };
|
||||
virtual ~nsUTF8Prober(){delete mCodingSM;};
|
||||
nsProbingState HandleData(const char* aBuf, PRUint32 aLen);
|
||||
const char* GetCharSetName() {return "UTF8";};
|
||||
const char* GetCharSetName() {return "UTF-8";};
|
||||
nsProbingState GetState(void) {return mState;};
|
||||
void Reset(void);
|
||||
float GetConfidence(void);
|
||||
|
Loading…
Reference in New Issue
Block a user