ASP

ASP is the abbrivation of Active Server Pages

In ASP one can define codepages for the session. These codepages are the same as the windows codepages. For Simplified Chinese (GBK) this is 936 and for Traditional Chinese (Big5) this is 950.
< % session.codepage = 950 % >

The character set can be set using the charset tag
< % Response.Charset = "utf-8" % >

When writing out characters use the chrw-function ("ChrW is provided for 32-bit platforms that use Unicode characters. Its argument is a Unicode (wide) character code, thereby avoiding the conversion from ANSI to Unicode.")
chrw(&H4F60) (prints out the character 你)

To request the language of the browser :
Dim stLang
stLang = Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")


[ < back ] - [ home ]

   
Search >


Local links are in blue, links to other websites are in red, commands are in green.

You need unicode fonts, a 4+ browser and acrobat reader to fully explore and enjoy this webpage. (if necessary you can download asian fontpacks for acrobat reader)

Currently translating my thesis to English : more info

© Seba - contact at seba at ulyssis dot org
users online: 5