InternetUnicodeHTMLCSSScalable Vector Graphics (SVG)Extensible Markup Language (xml)ASP.NetDocument Object Model (DOM)JavaScript ASP ObjectResponse ObjectRequest Object Draft for Information Only
Content
Server Object
Server ObjectServer object also provides some utility functions on the server. Server.HTMLEncode MethodServer.HTMLEncode Method encodes and converts the specified string according to the HTML encoding rules. Syntax:HTMLEncode( Or in an ASP file. Imply <% Server.HTMLEncode(string) %> Parameters:string The paramete "string" specifies the string to encode. Return Values:The HTMLEncoded string. Remarks:The Server.HTMLEncode Method can be used to encode data for converting potentially unsafe characters to their HTML-encoded equivalent. If the string to be encode is not double-byte character set (DBCS), HTMLEncode converts characters as following:
If the string to be encode is double-byte character set (DBCS), HTMLEncode converts characters as following:
The encoded code will be displayed by a Web browser. And the encoded HTML page can be displayed when opened the page file as a text file. Examples:
Server.URLEncode MethodServer.URLEncode Method encodes and converts the specified string according to the URL encoding rules including escape characters . Syntax:URLEncode( Or in an ASP file. Imply <% Server.URLEncode(string) %> Parameters:string The paramete "string" specifies the string to encode. Return Values:The URLEncoded string. Remarks:The Server.URLEncode Method can be used to encode data for converting characters as following:
Examples:
©sideway ID: 120200030 Last Updated: 2/10/2012 Revision: 0 Ref: References
Latest Updated Links
|
Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 7 Reference 79 Computer Hardware 251 Software Application 213 Digitization 32 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019