cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Haraldsen Amundsen" <>
Subject RE: Cocoon, JX Temaplte and UTF-8
Date Thu, 28 Feb 2008 13:30:36 GMT
We use a spring-apples, in this case a StatelessAppleController, instead
of FlowScript, and the code looks like this:

I've highlighted the lines that I think could have effect on the

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

<jx:out value="#{result-list}" xmlize="true"

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 [] 
Sent: 28. februar 2008 14:12
Subject: Re: Cocoon, JX Temaplte and UTF-8

> Maybe this could be solved by using some other Output/InputStream or

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?

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:
For additional commands, e-mail:

View raw message