camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "damian.golda@gmail.com (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-1278) VelocityEndpoint reads velocity templates using default encoding - add parameter to set encoding
Date Tue, 20 Jan 2009 17:01:59 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

damian.golda@gmail.com updated CAMEL-1278:
------------------------------------------

    Attachment: VelocityEndpoint.diff

Patch to VelocityEndpoint.java

> VelocityEndpoint reads velocity templates using default encoding - add parameter to set
encoding
> ------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1278
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1278
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-velocity
>    Affects Versions: 1.5.0
>            Reporter: damian.golda@gmail.com
>         Attachments: VelocityEndpoint.diff
>
>
> VelocityEndpoints reads templates using default encoding, so I cannot get correct content
while running on Windows and Linux.
> The reason is that there is used InputStreamReader constructor without encoding parameter.
> I've added simple support for setting encoding - see attached patch

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


Mime
View raw message