Skip to main content

Software  > Globalization > 

Globalize your On Demand Business

Supporting GB18030 In Web Applications : Conclusion
  • To insert GB18030 data into database correctly, the value of
    request.getCharacterEncoding() must be GB18030 or UTF-8.
  • If the value of request.getCharacterEncoding() is neither GB18030 nor UTF-8, the GB18030 data may be stored in database in HTML character references format as Figure 4, such as &#xxxxx. Though these data can be correctly retrieved and viewed by browsers, to a third party application such as database manager and operating system, the data is meaningless.
  • Only when the request’s encoding is identical to the browser’s View > Encoding setting, GB18030 data can be inserted correctly.
  • Netscape 7.0 has a bug of inserting surrogate data into DB2 database under UTF-8 environment.
  • To retrieve and display GB18030 data correctly, except the data in character reference format, such as &#xxxxx, the value of response.getCharacterEncoding() must be GB18030 or UTF-8.
  • IE 6.0 has a weakness to display GB18030 data in some objects, such as List Box. However, there is a workaround.

If you have any question on this article or ideas, contact us at global@us.ibm.com

 

 


E-mail us
Easy ways to get the answers you need.
E-mail us