[
https://issues.apache.org/jira/browse/VELOCITY-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611790#action_12611790
]
Will Glass-Husain commented on VELOCITY-599:
--------------------------------------------
I think the solution is to change the getAsciiStream to a getBinaryStream.
But I can't tell for sure. I'm having problems testing this issue. I made a
test for hsqldb, where it stored a template in Unicode, but it passed even with
the old code.
Any comments on this? I might just change it without a breaking test.
> DataSourceResourceLoader doesn't support UTF8
> ---------------------------------------------
>
> Key: VELOCITY-599
> URL: https://issues.apache.org/jira/browse/VELOCITY-599
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5
> Environment: WindowsServer2003 R2,
> Oracle10g(10.2.0,UTF8characterSet), jdk1.5.0_12
> Reporter: markchen
>
> If templates are stored in the database instead of files,the characters
> retrived becomes garbled.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]