We use a spring-apples, in this case a StatelessAppleController, instead of FlowScript, and the code looks like this:
http://pastebin.com/m571480c6 I've highlighted the lines that I think could have effect on the encoding. The strange thing is that this code works just fine on a Linux machine, but not on my Windows machine. Probably because of different default system encoding. The "result-list" in the Map is later on used in a jx-template like this: <jx:out value="#{result-list}" xmlize="true" xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"/> If that jx-template could read byte arrays into text, that would solve it I think, but I haven't found any ways to do that. - Magnus -----Original Message----- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: 28. februar 2008 14:12 To: [email protected] Subject: Re: Cocoon, JX Temaplte and UTF-8 > Maybe this could be solved by using some other Output/InputStream or something? Could it be that the Model.write() already does some conversion? You can try to write it directly into an FileOutputStream and try to figure out in which encoding it is (put some special characters into the RDF). Can you show a few more details like the Javascript code? Joerg IMPORTANT NOTICE: This message may contain confidential information. If you have received this e-mail in error, do not use, copy or distribute it. Do not open any attachments. Delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
