You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/05/14 10:12:45 UTC

[jira] Created: (JCR-2110) o.a.j.spi.commons.query.sql2.ParserTest uses platform encoding with non-ASCII characters

o.a.j.spi.commons.query.sql2.ParserTest uses platform encoding with non-ASCII characters
----------------------------------------------------------------------------------------

                 Key: JCR-2110
                 URL: https://issues.apache.org/jira/browse/JCR-2110
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-spi-commons, test
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Trivial
             Fix For: 2.0.0


The ParserTest class loads a series of test SQL statements from test.sql2.txt, which contains a few non-ASCII characters (good to test those!). Unfortunately the file is read using the default platform encoding, which breaks the Linux-based test builds.

I'll recode the file to UTF-8 and explicitly specify the encoding when the file is read.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2110) o.a.j.spi.commons.query.sql2.ParserTest uses platform encoding with non-ASCII characters

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-2110.
--------------------------------

    Resolution: Fixed

Fixed in revision 774677.

> o.a.j.spi.commons.query.sql2.ParserTest uses platform encoding with non-ASCII characters
> ----------------------------------------------------------------------------------------
>
>                 Key: JCR-2110
>                 URL: https://issues.apache.org/jira/browse/JCR-2110
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-spi-commons, test
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Trivial
>             Fix For: 2.0.0
>
>
> The ParserTest class loads a series of test SQL statements from test.sql2.txt, which contains a few non-ASCII characters (good to test those!). Unfortunately the file is read using the default platform encoding, which breaks the Linux-based test builds.
> I'll recode the file to UTF-8 and explicitly specify the encoding when the file is read.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.