db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-244) with linux, depending on env setting $LANG and console encoding, some i18n tests fail
Date Fri, 04 Aug 2006 15:11:14 GMT
    [ http://issues.apache.org/jira/browse/DERBY-244?page=comments#action_12425768 ] 
            
Rick Hillegas commented on DERBY-244:
-------------------------------------

Hi Myrna,

On my linux machine $LANG is "en_US.ISO-8859-1" and I see the following diffs in the urlLocale
test after applying this patch:

21 del
< ERROR 08006: Arr EnC:>234< t de la base de donn EnC:>233< es 'swissdb'.
21a21
> ERROR 08006: Arr EnC:>65533< t de la base de donn EnC:>65533< es 'swissdb'.
28 del
< ERROR 08006: Arr EnC:>234< t de la base de donn EnC:>233< es 'swissdb'.
28a28
> ERROR 08006: Arr EnC:>65533< t de la base de donn EnC:>65533< es 'swissdb'.
Test Failed.
*** End:   urlLocale jdk1.4.2_08 2006-08-04 08:09:58 ***

> with linux, depending on env setting $LANG and console encoding, some i18n tests fail
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-244
>                 URL: http://issues.apache.org/jira/browse/DERBY-244
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.1.1.0
>         Environment: Linux, with console.encoding *not* UTF-8
>            Reporter: Myrna van Lunteren
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: 244-2.diff, 244-2.stat, 244.diff, 244.stat
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message