db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (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 Thu, 27 Jul 2006 07:42:16 GMT
    [ http://issues.apache.org/jira/browse/DERBY-244?page=comments#action_12423789 ] 
            
Knut Anders Hatlen commented on DERBY-244:
------------------------------------------

Thanks for your comments, Myrna. The issue was that the test harness sets console.encoding
to Cp1252. I think Sun's jvm ignores this property, but IBM's jvm used it instead of file.encoding.
Since I had changed ProcessStreamResult to expect UTF-8 input when the tests were run with
file.encoding=UTF-8, it crashed (silently) with a MalformedInputException.

> 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.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