Re: Make JForum Portlet site aware
"Daniel Zimmermann" <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you Wilhelm =) We only tried to change the configuration part of the app. Cheers Daniel Zimmerman On Wed, 27 Apr 2005 04:33:35 -0700 [email protected] wrote: >Hi Daniel! > >In fact we had some problems with our german "Umlaute" -- öüäß :- >) -- and >we are using Oracle as DB. For UTF-8 I have changed: > >JForumWebAppWEB-INFconfigSystemGlobal.properties > > # Page encoding > encoding=UTF-8 > >In Method net.jforum.JForum.service(HttpServletRequest req, >HttpServletResponse response) > >a) set request encoding > > req.setCharacterEncoding("utf-8"); > >b) change the line > out = new BufferedWriter(new >OutputStreamWriter(response.getOutputStream(), encoding)); >to > out = new BufferedWriter(new >OutputStreamWriter(response.getOutputStream())); > >Although the correct encoding was passed to OutPutStreamWriter >constructur, >leaving this parameter did work better. > > >I think that was all.. > >_____ >kind regards >wilhelm