Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4807568

"Warning: Cannot convert string" outputs with Mantis b14 on SunLinux 5.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 1.4.2
    • client-libs
    • Fix Understood
    • x86
    • linux_redhat_7.2

      Japanese strings displays correctly with Mantis b14 on SunLinux5.0,
      but J2SDK outputs the code "current locale is not supported in X11, locale is
      set to C".

      Actually, ja locale is defined with OS, and other applications displays
      Japanise Strings, e.g. system menu, browser. but kinput2 and canna is not installed as default.
      Therefore can not input ja strings on default SunLinux5.0. this issue should
      be separated from this bugfile though. SunLinux5.0 is not I18Ned for ja yet.
       

      ---Warning is---
      [kichi@bombay Font2DTest]$ java -jar Font2DTest.jar
      current locale is not supported in X11, locale is set to CWarning: Cannot convert string "-watanabe-mincho-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct


      ---locale info---
      [kichi@bombay TrueType]$ locale
      LANG=ja_JP.eucJP=
      LC_CTYPE="ja_JP.eucJP="
      LC_NUMERIC="ja_JP.eucJP="
      LC_TIME="ja_JP.eucJP="
      LC_COLLATE="ja_JP.eucJP="
      LC_MONETARY="ja_JP.eucJP="
      LC_MESSAGES="ja_JP.eucJP="
      LC_PAPER="ja_JP.eucJP="
      LC_NAME="ja_JP.eucJP="
      LC_ADDRESS="ja_JP.eucJP="
      LC_TELEPHONE="ja_JP.eucJP="
      LC_MEASUREMENT="ja_JP.eucJP="
      LC_IDENTIFICATION="ja_JP.eucJP="
      LC_ALL=

      ---Linux version----
      [kichi@bombay /]$ cat /etc/redhat-release
      Red Hat Linux release 7.2 (Enigma)
      [kichi@bombay /]$ cat /etc/sun-release
      Sun Linux release 5.0 (White Rabbit)
      [kichi@bombay /]$ uname -a
      Linux bombay.Japan.Sun.COM 2.4.9-31 #1 vie jun 7 13:26:50 PDT 2002 i686 unknown



      ------------------------------------------------------------

      This is update for the description about Japanese input above,
      canna and kinput2 were installed as Japanese input system with SunLinux5.0
      default installatioin.
      If Japanese input is not available with installation, it will be available
      with command line "kinput2 -canna &" on terminal window.

      ###@###.### 2003-01-27
      ------------------------------------------------------------

            yan Yuri Nesterenko
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: