All COBOL Web subroutines in NetCOBOL support Unicode. Web applications that operate using Unicode improve the expressional performance as the number of characters increases. However, these Unicode Web applications differ from conventional Web applications that use native code. Note the following when creating and executing Web applications that support Unicode.
The following table indicates the differences to consider when creating and executing Web applications using native code and Web applications using Unicode.
No. | Item | Native code | Unicode |
---|---|---|---|
1 | WWW browsers | WWW browser that displays native code. Any of the latest WWW browsers can be used | WWW browser that supports UTF-8 or UCS-2 and transmits Web parameters on UTF-8. |
2 | Input code system from WWW browser | Native code | UTF-8 (*1) |
3 | Output code system to WWW browser | Native code | UTF-8 or UCS-2 |
4 | Compile options | Not required | Required |
5 | Unicode supported subroutines | Partial limitations | Partial limitations |
6 | HTML document code system for Web pages used for invoking applications | Native code | UTF-8, or UCS-2 |
7 | HTML document code system for Web pages used for processing output result (prototype file) | Native code | UTF-8, UCS-2, or native code |
8 | Log file code system | Native code | UCS-2 or native code |
9 | Coexistence of NetCOBOL applications with different code systems | Basically, code systems cannot be mixed. However, it is possible under certain conditions depending on the subroutines and WWW servers. |
*1 : Any input code system can be used in a COBOL application because the NetCOBOL Web subroutines execute conversion processing according to the COBOL application code system. Each case is described in the following topics.