Unable to configure UTF-8 as yoko's native charset.
---------------------------------------------------

                 Key: YOKO-413
                 URL: https://issues.apache.org/jira/browse/YOKO-413
             Project: Yoko - CORBA Server
          Issue Type: Bug
          Components: orb core
    Affects Versions: v1.0-incubating-M2
         Environment: Linux jre-sun-1.5.0
            Reporter: Wolfgang Glas


SUN ORB cowardly refuses to talk utf-8 with my orbit-2 server, as I reported to 
under the following issue:

  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6567407

Hence I gave yoko a try and unfortunately yoko too could not be configured to 
natively talk utf-8 on the wire.

Suspectedly, this is due to the following code in

org.apache.yoko.orb.OBCORBA.ORB_impl.java:962 ff.:
************
            } else if (key.equals("yoko.orb.native_cs")) {
                int csid = org.apache.yoko.orb.OB.CodeSetDatabase.instance()
                        .nameToId(value);
                if (csid != 0
                        && csid != org.apache.yoko.orb.OB.CodeSetDatabase.UTF8)
                    nativeCs = csid;
                else {
                    String err = "ORB.init: unknown value for "
                            + "yoko.orb.native_cs: " + value;
                    logger.error(err);
                    throw new org.omg.CORBA.INITIALIZE(err);
                }
************

Can any one give me clue, why UTF-8 is excluded from the valid native charsets 
at this point. Whenever I try to impose UTF-8 on the wire using
 
  -Dyoko.orb.native_cs=UTF-8

The above CORBA_INITIALIZE exception is thrown.

Please consider to allow UTF-8 as native charset or give me a hint how I can 
successfully talk UTF-8 with a orbit-2 server using YOKO as my client.

  TIA,

    Wolfgang

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to