0 Replies Latest reply on Nov 10, 2013 10:27 AM by user9115824

    How to set encoding in Apex Listener


      I have a problem conversion characters when using Apex listener

      The problem occurs in two different configurations:

      1. APEX Listener 2.0 running on GlassFish Server Open Source Edition 4.0 Oracle Database 11g Release (NLS_LANGUAGE: AMERICAN, NLS_CHARACTERSET: AL32UTF8)

      2 . APEX Listener 2.0 running in standalone mode Oracle Database 10g Express Edition Release (NLS_LANGUAGE: AMERICAN, NLS_CHARACTERSET: AL32UTF8)


      to demonstrate the problem I created a restful service, which is in the GET method returns the result of the query :

      select: p_param as "result" from dual


      parameter : p_param transmitted via http header

      parameter : p_param set to 'sample data дф ' , the last two characters - Cyrillic

      Http Request is as follows:

      GET http://xxx.xx.xxx.xxx:8080/apex/encode HTTP/1.1

      Accept-Encoding: gzip, deflate

      param: sample data дф

      Host: xxx.xx.xxx.xxx: 8080

      Connection: Keep-Alive

      User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

      in both cases, the return value - <result> sample data 4D </ result>

      I could not find documentation on how to avoid re-encoding?