Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-244

with linux, depending on env setting $LANG and console encoding, some i18n tests fail

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.1.1.0
    • Fix Version/s: 10.2.1.6
    • Component/s: Test
    • Labels:
      None
    • Environment:
      Linux, with console.encoding *not* UTF-8

      Description

      The tests
      i18n/messageLocale.sql
      i18n/urlLocale.sql
      i18n/iepnegativetests_ES.sql

      will fail on Linux if $LANG and as a result, console.encoding is not set in the same way as when the test master was created. The behavior is that some characters are not seen as outside the ANSI range and are displayed as a ?.
      Result is as master when $LANG is en_US.UTF-8

      But then ieptest.sql will fail which will with ibm142 which pass if $LANG is en_US.

      This needs some further analysis, so this description may need to be updated later.
      Whatever the solution is, will need to work for all situations.

        Attachments

        1. 244-3.diff
          8 kB
          Knut Anders Hatlen
        2. 244-2.diff
          7 kB
          Knut Anders Hatlen
        3. 244-2.stat
          0.2 kB
          Knut Anders Hatlen
        4. 244.diff
          6 kB
          Knut Anders Hatlen
        5. 244.stat
          0.2 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

              • Assignee:
                knutanders Knut Anders Hatlen
                Reporter:
                myrna Myrna van Lunteren
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: