incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wolfgang Glas (JIRA)" <j...@apache.org>
Subject [jira] Created: (YOKO-413) Unable to configure UTF-8 as yoko's native charset.
Date Fri, 17 Aug 2007 21:36:30 GMT
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.


Mime
View raw message