PRB: ???????? ??????? ??????? ?? ???? ??? ????? ?????? HTML Unicode

?????? ????????? ?????? ?????????
???? ???????: 272138 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

???????

?? ??? ??? ???????? ??? ?????? Microsoft Visual Basic (VB) ?????? Visual Basic (VBScript) AscW ?????? ??? ???? ??? ???????? ???? Unicode ????? ???????? ??? (??? Hanzi ??????? ?? ??????? ????????? ?? ??????? ????????). ??? ??????? ??? ????? ??????? ?? ???? ?????? HTML (& #nnnn ? ??? nnnn ????? ??? ???? ???? ?? ???? Unicode) ? ???? ???? ?????? ?? ?? ???? ????? ?? ?????? ????????? ??? ????????.

?????

????? Unicode ????? ???? ????? 16-?? ?? 0 ??? 65535 (0xFFFF) ??? ???? ?? ???? ?????.

????

????? ???? AscW ??? ???? ? ????? ???? ????? ????? ??????? ?? ??? ?????. ?????? ????? ????? ???? ?? ??????? ??????? ?????? ????? 0xFFF ??? ????? ???????. ??? ???? ??????? ???? ??? "???? ?? ?????????".

??????? ????

????? ????? ????? ??????

  1. ??? ??????? HTML ???????? ??????? ??? ??? ???? TestAscW.htm:
    <HTML>
    
    <HEAD>
    <TITLE>PRB: Negative Integers Do Not Work as Unicode HTML Entity  References</TITLE>
    </HEAD>
    
    <SCRIPT language="VBScript">
    
    // The character used below is the Japanese character "go" (8A9E in 
    //Unicode).
    
    sub load()
    	div1.innerHTML = "Actual character is &#35486; & AscW output is &#" & AscW(ChrW(35486))
    end sub
    
    </SCRIPT>
    
    <BODY language="VBScript" onload="load()">
    
    <DIV id="div1">
    
    </DIV>
    
    </BODY>
    
    </HTML>
    					
  2. ??? ??? ????? ?? ?????? Internet Explorer. ??? ??? ???? ????? ?????? ??? raw ? ?? ???? ????????? "??????".
??????? ?????? ??? ??? ??????? ?????? ???? ???????? ????? ??????:
function DecodeAscW(sOutput) 
	sAscVal = AscW(sOutput) 
	If sAscVal < 0 Then 	
		sAscVal = 65536 + sAscVal 
	End If
	DecodeAscW = sAscVal
end function

sub load()
	div1.innerHTML = "Actual character is &#35486; AscW output is &#" &  DecodeAscW(ChrW(35486))
end sub
				

?????

?????? ??? ???? ?? ????????? ??? ????? ?????? ???????? ??? ??? ??????? Microsoft Internet Explorer? ?? ?????? ????? Microsoft ??????? ??? ?????:
http://msdn.microsoft.com/ie/

http://support.microsoft.com/iep

???????

???? ???????: 272138 - ????? ??? ??????: 13/???? ??????/1435 - ??????: 3.0
????? ???
  • Microsoft Internet Explorer 4.0 128-Bit Edition
  • Microsoft Internet Explorer 4.01 Service Pack 2
  • Microsoft Internet Explorer 4.01 Service Pack 1
  • Microsoft Internet Explorer 4.01 Service Pack 2
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer (Programming) 5.01 SP1
  • Microsoft Internet Explorer 5.5
????? ??????: 
kbnosurvey kbarchive kbmt kbdhtml kbintl kbintldev kbprb kbunicode KB272138 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????272138

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com