velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markchen <gxche...@yahoo.com>
Subject DataSourceResourceLoader not support UTF8?
Date Fri, 06 Jun 2008 04:23:28 GMT

Environment : springMVC(2.5) + Velocity(1.5) + oracle10g(characterset UTF8).

I realize that if templates are stored in the database instead of files,
the characters retrived becomes garbled.

Is it a bug?

DataSourceResourceLoader#getResourceStream(...)

:::
InputStream ascStream = rs.getAsciiStream(templateColumn); 
                                       ^^^^^^^^^
:::

regards,
-- 
View this message in context: http://www.nabble.com/DataSourceResourceLoader-not-support-UTF8--tp17684375p17684375.html
Sent from the Velocity - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message