Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Japanese Character Support


Sun ONE Active Server Pages supports only the Shift-JIS encoding of Japanese characters and does not support "extended" or "user-defined" characters. Please note that this applies to all Japanese usage in an ASP page, including literal strings in the source files, text stored to files via the Scripting.FileSystemObject, and text stored to databases via the various ADODB objects and methods. (The implementation of ADO used with Sun ONE ASP is called ADODB.) Similarly, all output from ASP to browsers is in Shift-JIS only.

If a field is created as VarChar(nn) or Char(nn), then nn actually represents the number of bytes of data that can be stored in that field. Since the majority of Shift-JIS characters occupy two bytes of memory, fields should be specified with a size that is twice the maximum number of Shift-JIS characters that they need to hold.



ContentsPreviousNextIndex