Support mapping the character set encoding properly so that codes from 0x80 to 0x9f get mapped into ucs2 properly

git-svn-id: svn://10.0.0.236/trunk@14185 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1998-11-06 02:07:17 +00:00
parent 3e2725073a
commit 4e88066b19
6 changed files with 182 additions and 6 deletions

View File

@@ -179,6 +179,12 @@ PRBool CScanner::Append(const char* aBuffer, PRInt32 aLen){
return PR_TRUE;
}
PRBool CScanner::Append(const PRUnichar* aBuffer, PRInt32 aLen){
mBuffer.Append(aBuffer,aLen);
mTotalRead+=aLen;
return PR_TRUE;
}
/**
* Grab data from underlying stream.
*