fix lowercase
This commit is contained in:
parent
d360ee9576
commit
0627b9183a
14 changed files with 17 additions and 16 deletions
|
@ -242,6 +242,6 @@ const SequenceModel Win1251BulgarianModel =
|
|||
BulgarianLangModel,
|
||||
(float)0.969392,
|
||||
PR_FALSE,
|
||||
"windows-1251",
|
||||
"WINDOWS-1251",
|
||||
"Bulgarian"
|
||||
};
|
||||
|
|
|
@ -316,7 +316,7 @@ const SequenceModel Win1251Model =
|
|||
RussianLangModel,
|
||||
(float)0.976601,
|
||||
PR_FALSE,
|
||||
"windows-1251",
|
||||
"WINDOWS-1251",
|
||||
"Russian"
|
||||
};
|
||||
|
||||
|
|
|
@ -195,6 +195,6 @@ const SequenceModel iso_8859_2czechModel =
|
|||
czechLangModel,
|
||||
(float)0.968107,
|
||||
PR_TRUE,
|
||||
"iso-8859-2",
|
||||
"ISO-8859-2",
|
||||
"czech"
|
||||
};
|
||||
|
|
|
@ -214,7 +214,7 @@ const SequenceModel Win1255Model =
|
|||
HebrewLangModel,
|
||||
(float)0.984004,
|
||||
PR_FALSE,
|
||||
"windows-1255",
|
||||
"WINDOWS-1255",
|
||||
"Hebrew"
|
||||
};
|
||||
|
||||
|
|
|
@ -239,6 +239,6 @@ const SequenceModel Win1250HungarianModel =
|
|||
HungarianLangModel,
|
||||
(float)0.965178,
|
||||
PR_TRUE,
|
||||
"windows-1250",
|
||||
"WINDOWS-1250",
|
||||
"hungarian"
|
||||
};
|
||||
|
|
|
@ -195,6 +195,6 @@ const SequenceModel iso_8859_2polishModel =
|
|||
polishLangModel,
|
||||
(float)0.974309,
|
||||
PR_TRUE,
|
||||
"iso-8859-2",
|
||||
"ISO-8859-2",
|
||||
"polish"
|
||||
};
|
||||
|
|
|
@ -195,6 +195,6 @@ const SequenceModel windows_1252spanishModel =
|
|||
spanishLangModel,
|
||||
(float)0.983906,
|
||||
PR_TRUE,
|
||||
"windows-1252",
|
||||
"WINDOWS-1252",
|
||||
"spanish"
|
||||
};
|
||||
|
|
|
@ -50,7 +50,8 @@ public:
|
|||
Reset();}
|
||||
virtual ~nsEUCTWProber(void){delete mCodingSM;}
|
||||
nsProbingState HandleData(const char* aBuf, PRUint32 aLen);
|
||||
const char* GetCharSetName() {return "x-euc-tw";}
|
||||
const char* GetCharSetName() {return "EUC-TW";}
|
||||
//const char* GetCharSetName() {return "x-euc-tw";}
|
||||
nsProbingState GetState(void) {return mState;}
|
||||
void Reset(void);
|
||||
float GetConfidence(void);
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
Reset();}
|
||||
virtual ~nsGB18030Prober(void){delete mCodingSM;}
|
||||
nsProbingState HandleData(const char* aBuf, PRUint32 aLen);
|
||||
const char* GetCharSetName() {return "gb18030";}
|
||||
const char* GetCharSetName() {return "GB18030";}
|
||||
nsProbingState GetState(void) {return mState;}
|
||||
void Reset(void);
|
||||
float GetConfidence(void);
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#define MIN_MODEL_DISTANCE (0.01)
|
||||
|
||||
#define VISUAL_HEBREW_NAME ("ISO-8859-8")
|
||||
#define LOGICAL_HEBREW_NAME ("windows-1255")
|
||||
#define LOGICAL_HEBREW_NAME ("WINDOWS-1255")
|
||||
|
||||
PRBool nsHebrewProber::isFinal(char c)
|
||||
{
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
nsLatin1Prober(void){Reset();}
|
||||
virtual ~nsLatin1Prober(void){}
|
||||
nsProbingState HandleData(const char* aBuf, PRUint32 aLen);
|
||||
const char* GetCharSetName() {return "windows-1252";}
|
||||
const char* GetCharSetName() {return "WINDOWS-1252";}
|
||||
nsProbingState GetState(void) {return mState;}
|
||||
void Reset(void);
|
||||
float GetConfidence(void);
|
||||
|
|
|
@ -430,7 +430,7 @@ const SMModel SJISSMModel = {
|
|||
6,
|
||||
{eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, SJIS_st },
|
||||
SJISCharLenTable,
|
||||
"Shift_JIS",
|
||||
"SHIFT_JIS",
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public:
|
|||
Reset();}
|
||||
virtual ~nsSJISProber(void){delete mCodingSM;}
|
||||
nsProbingState HandleData(const char* aBuf, PRUint32 aLen);
|
||||
const char* GetCharSetName() {return "Shift_JIS";}
|
||||
const char* GetCharSetName() {return "SHIFT_JIS";}
|
||||
nsProbingState GetState(void) {return mState;}
|
||||
void Reset(void);
|
||||
float GetConfidence(void);
|
||||
|
|
Loading…
Reference in a new issue