Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-1061

Client does not work when running ebcdic turkish code page

    XMLWordPrintableJSON

Details

    Description

      When running ebcdic turkish code page, the code sends an invalid SOAP request because the double quote character in ebcdic turkish code page is not invariant (i.e. the hex value of double quote character in turkish code page is different in all other ebcdic code pages).

      To resolve, all platform files will define the following:

      #define PLATFORM_DOUBLE_QUOTE_S "\""
      #define PLATFORM_DOUBLE_QUOTE_C '\"'

      #define PLATFORM_XML_ENTITY_REFERENCE_CHARS_S "<>&\"\'"

      and in the code the defines will be used. In the os/400 platform files it will define these as:

      extern char PLATFORM_DOUBLE_QUOTE_S[];
      extern char PLATFORM_DOUBLE_QUOTE_C;

      extern char PLATFORM_XML_ENTITY_REFERENCE_CHARS_S[];

      and when the code is activated it will detect the code-page being run and set these values accordingly.

      Attachments

        Activity

          People

            nadiramra Nadir K. Amra
            nadiramra Nadir K. Amra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: