Will, I could edit UnicodeFileResourceLoader a bit to follow new not-so-heavily-synchronized FileResourceLoader code I contributed few months ago. And then compile it against current subversion codebase.
Then I add it to the contributed list if only manage to use Wiki pages. I have never edited wiki pages before. Current code and examples compiled against Velocity1.4 version: http://koti.mbnet.fi/akini/java/unicodereader/ Problem in current FileResourceLoader: Java has a bug not recognizing UTF-8 BOM marker bytes. It does recognize UTF-16 bom marker bytes just fine. UnicodeFileResourceLoader uses a customized InputStream implementation to skip utf8 bom marker bytes. t. Mailmur >From JIRA page: Hi Mailmur. I'm going through some old issues. Thanks for contributing this. Sorry it's been such a long time. Would you be willing to place this code (or a link to your web page) on the Velocity wiki? That's a good place for user contributed code. I'm thinking that this might be too specialized for incorporation into the Velocity engine itself. But it'd be nice to make this more prominent for users who might need such a solution. http://wiki.apache.org/jakarta-velocity/ContributedCode Let us know. If that's ok with you I'll resolve this issue. http://issues.apache.org/jira/browse/VELOCITY-191?page=all __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]