Re: Unexpected encoding in output

2009-04-07 Thread Peter Flynn
Petteri Sulonen wrote: (1) Check your web.xml. You should have the init-param "form-encoding" set to "UTF-8". (It's set by default to ISO-8859-1 on at least some versions of Cocoon.) /var/lib/tomcat5/webapps/cocoon/WEB-INF/web.xml says: container-

Re: Unexpected encoding in output

2009-04-03 Thread Petteri Sulonen
(1) Check your web.xml. You should have the init-param "form-encoding" set to "UTF-8". (It's set by default to ISO-8859-1 on at least some versions of Cocoon.) (2) Check your sitemaps, starting from the Cocoon root sitemap. You can set the encoding of your seria

Unexpected encoding in output

2009-04-03 Thread Peter Flynn
file is UTF-8, the xsl:output inside it specifies UTF-8, and tidy.properties specifies char-encoding=UTF-8. Something, somewhere is interfering, and adding this encoding="ISO-8859-1", but I'm at a loss where to look. I also notice that all my generated HTML from Cocoon is being label

Re: Stream generator encoding problem with Cocoon 2.1.11

2009-03-19 Thread Petteri Sulonen
n the browser side, since this can lead to all kinds of cross-browser pain). The pipeline breaks if I bork the header altogether (e.g., I put in "this/is/junk; charset=utf-8"), but changing the charset part to iso-8859-1 or this-is-not-an-encoding doesn't make any difference. B

Re: Stream generator encoding problem with Cocoon 2.1.11

2009-03-19 Thread Petteri Sulonen
s with headers on the browser side, since this can lead to all kinds of cross-browser pain). The pipeline breaks if I bork the header altogether (e.g., I put in "this/is/junk; charset=utf-8"), but changing the charset part to iso-8859-1 or this-is-not-an-encoding doesn't make

Re: Stream generator encoding problem with Cocoon 2.1.11

2009-03-18 Thread Víctor Pergolesi
UTF-8"); ... } I hope this help you. Victor Pergolesi _ From: Petteri Sulonen [mailto:petteri.sulo...@avaintec.com] To: users@cocoon.apache.org Sent: Wed, 18 Mar 2009 13:50:03 + Subject: Stream generator encoding problem with Cocoon 2.1.11 I'm in the process of moving

Stream generator encoding problem with Cocoon 2.1.11

2009-03-18 Thread Petteri Sulonen
I'm in the process of moving a large Cocoon application from Cocoon 2.1.4 to 2.1.11 (LTTP, I know). * Platform: Ubuntu, Java 5, Jetty 6.1.15. * In web.xml, container-encoding set to ISO-8859-1, form-encoding UTF-8. Problem: when I POST form data to a stream generator, it behaves as if

Re: Character encoding problem with umlauts (ä ö ü)

2009-01-05 Thread Gabriel Gruber
05.01.2009 14:54 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject Character encoding problem with umlauts (ä ö ü) Hi! I have a pipeline that takes a couple of parameters, does an sql query with them and returns the result. The problem is that it doesn't

Character encoding problem with umlauts (ä ö ü)

2009-01-05 Thread Smigge
ä, it works. How could this be fixed, eg. by changing the whole encoding or converting the parameters somehow? -- View this message in context: http://www.nabble.com/Character-encoding-problem-with-umlauts-%28%C3%A4-%C3%B6-%C3%BC%29-tp21291365p21291365.html Sent from the Cocoon - Users mailing

Re: Character encoding problem with latest Saxon + Cocoon 2.1

2008-12-31 Thread Mark Lundquist
th the new version they instead look like this: â€"... Did you try setting the encoding at the JVM level as well? (- Dfile.encoding=...) Your problem might be related to some code using the platform's default encoding in places, instead of the specified one. Hi Bertrand, Thanks

Re: Character encoding problem with latest Saxon + Cocoon 2.1

2008-12-31 Thread Bertrand Delacretaz
t;â€"... Did you try setting the encoding at the JVM level as well? (-Dfile.encoding=...) Your problem might be related to some code using the platform's default encoding in places, instead of the specified one. -Bertrand

Character encoding problem with latest Saxon + Cocoon 2.1

2008-12-30 Thread Mark Lundquist
solved! Except that now, I seem to have a new problem with character encoding... Cocoon is serving a web page with a bunch of occurrences of the "ndash" character (Unicode #8211). These displayed correctly with the old Saxon, but now with the new version they instead look like this:

Re: Max file size in FileGenerator and encoding in StreamGenerator

2008-07-22 Thread Joerg Heinicke
On 26.02.2008 16:05, Stefan Ludwig wrote: my problem is solved! now i use the FileGenerator. configured like this: I'm really surprised this works. It seems to be a valid alternative to upload protocol. But then I wonder why having the latter at all? last (non-working for bigger files) c

Re: SSF and URL Encoding

2008-05-06 Thread Robin Wyles
Hi Rainer, Thanks very much for your reply... shortly after writing my post I thought about using an input module, and wrote my own url encoding input module, not realising there was one already included with Cocoon - after all these years using Cocoon I've never seen it! However

Re: SSF and URL Encoding

2008-05-06 Thread Rainer Pruy
Hi Robin Robin Wyles schrieb: > Hi All, > [...] > > So, my questions are > > a) Should ServletSource be encoding the URL it receives ? I would've > thought probably not... just my personal opinion: No. It would cause SSF to treat URLs different from other protoco

SSF and URL Encoding

2008-05-06 Thread Robin Wyles
: servlet:exist:/db/feeds/ testfeed/entries?terms=one|two at org.apache.cocoon.servletservice.components.ServletSource.createServletC onnection(ServletSource.java:142) [...] So, my questions are a) Should ServletSource be encoding the URL it receives ? I would've thought probably not..

Re: Max file size in FileGenerator and encoding in StreamGenerator

2008-02-26 Thread Stefan Ludwig
rds stefan -Original Message- From: Stefan Ludwig <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: users@cocoon.apache.org Subject: Re: Max file size in FileGenerator and encoding in StreamGenerator Date: Tue, 26 Feb 2008 11:01:10 +0100 no, i have no chance to set request encoding to the

Re: Max file size in FileGenerator and encoding in StreamGenerator

2008-02-26 Thread Stefan Ludwig
no, i have no chance to set request encoding to the same as datafile encoding. situation: i have to transform a xml-datafile (max file size about 20MB) to a pdf or a excel document. the customer want to have a simple html form to upload the xml file and to set the mandatory informations like

Re: Max file size in FileGenerator and encoding in StreamGenerator

2008-02-20 Thread Alexander Daniel
On 19.02.2008, at 09:47, Stefan Ludwig wrote: The StreamGenerator works fine with large files (from 20MByte XML-Data to PDF in just 2mins!), but encoding doesn't work. This generator gets encoding from request, but i need the encoding from XML-Datafile. Is there any chance that you mak

Max file size in FileGenerator and encoding in StreamGenerator

2008-02-19 Thread Stefan Ludwig
Hi, I try to generate pdf and excel documents from a XML-Datafile (sent via multipart/form-data). The datafile can be very large (about 20MByte) and encoded in ISO or Unicode (ISO-8859-1 or UTF-8). The FileGenerator works perfect with Encoding (gets encoding from XML-Datafile), but with large

Re: Wildcard and Regexp Matcher encoding problem

2008-02-13 Thread dynnamitt
solution is described here: http://www.nabble.com/Cocoon%2C-UTF-8-and-encodeURI-to7587213.html#a7595919 K-D Grzegorz Tańczyk wrote: > > Hello, > > Can You tell me if it is a known issue that matchers malform > encoding of nonUS characters? I have no problems wh

Re: Wildcard and Regexp Matcher encoding problem

2008-02-13 Thread dynnamitt
Hi, I got the same problem in 2.1.11... what's the solution? regards dynnamitt. Grzegorz Tańczyk wrote: > > Hello, > > Can You tell me if it is a known issue that matchers malform > encoding of nonUS characters? I have no problems when I run Cocoon > 2.1.5.1 on

Re: Cforms and Character Encoding

2008-01-23 Thread Joerg Heinicke
On 23.01.2008 03:51, Tobia Conforto wrote: The problem turned out to be in web.xml I amended form-encoding ISO-8859-1 To form-encoding UTF-8 and now everything is in UTF-8 and works properly Just a word of caution: make sure you test your forms on every

Re: Cforms and Character Encoding

2008-01-23 Thread Peter Sparkes
Thanks for the advice I have tested with various versions of IE and Firefox and all' fine Peter Peter Sparkes wrote: The problem turned out to be in web.xml I amended form-encoding ISO-8859-1 To form-encoding UTF-8 and now everything is in UTF-

Re: Cforms and Character Encoding

2008-01-23 Thread Gabriel Gruber
> Peter Sparkes wrote: > > The problem turned out to be in web.xml > > I amended > > form-encoding > > ISO-8859-1 > > To > > form-encoding > > UTF-8 > > and now everything is in UTF-8 and works properly &

Re: Cforms and Character Encoding

2008-01-23 Thread Tobia Conforto
Peter Sparkes wrote: The problem turned out to be in web.xml I amended form-encoding ISO-8859-1 To form-encoding UTF-8 and now everything is in UTF-8 and works properly Just a word of caution: make sure you test your forms on every possible web browser

Re: Cforms and Character Encoding

2008-01-23 Thread Peter Sparkes
Thanks Joerg, The problem turned out to be in web.xml I amended form-encoding ISO-8859-1 To form-encoding UTF-8 and now everything is in UTF-8 and works properly The problem was that the form was sending UTF-8 but it was being read as ISO

Re: Cforms and Character Encoding

2008-01-22 Thread Joerg Heinicke
On 08.12.2007 13:37, Peter Sparkes wrote: I am using Cforms in Cocoon 2.1.10 to amend an XML file. The character encoding is UTF-8 The Euro sign € gets converted to € and UK pound sign £ to £ from the field widget. I am using the saveDocument function from the samples and have set

RE: Need help Character Encoding :-((

2007-12-12 Thread Andreas Busch
: Re: Need help Character Encoding :-(( On 12.12.2007 8:37 Uhr, Johannes Textor wrote: >> Instead of creating a link with you should create a form >> with hidden elements and a button. The form values will get encoded >> ISO-8859-1 correctly. > > Or you set form-encoding t

Re: Need help Character Encoding :-((

2007-12-12 Thread Joerg Heinicke
On 12.12.2007 8:37 Uhr, Johannes Textor wrote: Instead of creating a link with you should create a form with hidden elements and a button. The form values will get encoded ISO-8859-1 correctly. Or you set form-encoding to UTF-8 specifically for this pipeline. But given this bug, it is

Re: Need help Character Encoding :-((

2007-12-12 Thread Johannes Textor
the > server. > Hmm I was unaware of this problem, thanks for the info Joerg. > Instead of creating a link with you should create a form > with hidden elements and a button. The form values will get encoded > ISO-8859-1 correctly. Or you set form-encoding to UTF-8 specific

Re: RE: Need help Character Encoding :-((

2007-12-12 Thread Johannes Textor
Hi Andreas, I'd bet that the screwed umlaut arises already at the level of the multisearch generator, can you confirm this? (by looking at search.xml?cocoon-view=debug and checking the source code). If this is indeed the problem, your generator is not using the correct encoding to decod

Re: Need help Character Encoding :-((

2007-12-12 Thread Joerg Heinicke
length= Serializers are changed to ISO-8859-1 encoding Need realy help for workaround or bugfixes Unfortunately, creating your own links does not work with special characters. While your pages are in ISO-8859-1 and probably work fine with all forms and stuff since the server also expects ISO-88

RE: Need help Character Encoding :-((

2007-12-12 Thread Andreas Busch
} }; Thanks in advance Andreas -Original Message- From: Johannes Textor [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12, 2007 11:44 AM To: users@cocoon.apache.org Subject: Re: Need help Character Encoding :-(( Hi Andreas, if something goes wrong with the encoding, it&#

Re: Need help Character Encoding :-((

2007-12-12 Thread Johannes Textor
Hi Andreas, if something goes wrong with the encoding, it's almost certainly a generator issue. Which generator are you using? Could you post the corresponding part of sitemap.xmap so we can have a look at your pipeline? Johannes Andreas Busch wrote: Hello, I have a problem with s

Need help Character Encoding :-((

2007-12-12 Thread Andreas Busch
et" action="/openclass/OCI/DE/search.html"> looks good but the paging links are broken div id="nav-next"> there is a problem in queryString %C3%BC its createt in xsl with /search.html?queryString=&pagelength= Serializers are changed to ISO-8859-1 encoding

Cforms and Character Encoding

2007-12-08 Thread Peter Sparkes
Hi, I am using Cforms in Cocoon 2.1.10 to amend an XML file. The character encoding is UTF-8 The Euro sign € gets converted to € and UK pound sign £ to £ from the field widget. I am using the saveDocument function from the samples and have set transformer.setOutputProperty

RE: Cocoon 2.1.10: Wrong encoding when using html or nekohtml generator

2007-06-05 Thread Christian Schlichtherle
Hi, just for the record: I've tried to edit /WEB-INF/tidy.properties and /WEB-INF/neko.properties, but with no success. I must have been fooled by the caching algorithm. In fact, it does work by setting http\://cyberneko.org/html/properties/default-encoding=UTF-8 in neko.prope

Cocoon 2.1.10: Wrong encoding when using html or nekohtml generator

2007-06-04 Thread Christian Schlichtherle
Hi, when parsing HTML pages via HTTP using either the html or nekohtml encoder, it doesn't correctly decode the German diaeresis characters (äöüÄÖÜ) and others. If have checked the page. It doesn't specify an encoding in the header (plain HTML - maybe 3.2), but the page is delivere

Cocoon 2.1.10: Wrong encoding when using html or nekohtml generator

2007-06-04 Thread Christian Schlichtherle
Hi, when parsing HTML pages via HTTP using either the html or nekohtml encoder, it doesn't correctly decode the German diaeresis characters (äöüÄÖÜ) and others. If have checked the page. It doesn't specify an encoding in the header (plain HTML - maybe 3.2), but the page is delivere

Re: wsproxy encoding and user-agent

2007-04-10 Thread Joerg Heinicke
able to handle them. But of course it needs a hint how to parse the XML, which is normally the XML declaration. But maybe it makes sense to add a parameter for response parsing encoding to the generator for such cases where there is no hint in the response. Joerg [1] http://svn.apache.org/

Re: wsproxy encoding and user-agent

2007-04-10 Thread Lionel Barth
Hi Joerg Joerg Heinicke a ecrit le 10/04/07 0:32: Why do you need a specific encoding? Do your request or response got parsed wrongly? There is a discouraging comment in the WebServiceProxyGenerator [1, line 115 and following]: Can you tell the actual error you want to solve? That might make

Re: wsproxy encoding and user-agent

2007-04-09 Thread Joerg Heinicke
e (and the remote server tell I use a "Mozilla/5.0 (Windows... Firefox/2.0.0.3" user-agent) when I try the web service directly in a browser (with the very same parameters). Why do you need a specific encoding? Do your request or response got parsed wrongly? There is a discour

wsproxy encoding and user-agent

2007-04-09 Thread bam
l I use a "Mozilla/5.0 (Windows... Firefox/2.0.0.3" user-agent) when I try the web service directly in a browser (with the very same parameters). Is the difference of user-agent provoking the difference of encoding ? If so, how can I change the user-agent, I tried 'set-head

Re: Sending mail from flowscript: encoding problems

2007-01-30 Thread Tobia
Joost Kuif wrote: > > form-encoding >UTF-8 > This did it for me, and it works on every browser. It would have taken days to me to find that setting on my own. Thank you! Tobia - To unsubscribe, e-

RE: Sending mail from flowscript: encoding problems

2007-01-30 Thread Joost Kuif
Hi Tobia, 1) In your formtemplate set the attribute enctype to "multipart/form-data" 2) In your pipeline, use: 3) In your cocoon web.xml specify: container-encoding UTF-8 form-encoding UTF-8 I think this did the

Re: Sending mail from flowscript: encoding problems

2007-01-30 Thread Lionel Barth
Tobia, Don't you have to use m.setCharset('ISO8859-1') instead of m.setCharset('utf-8') ? Regards, Lionel Tobia a ecrit le 30/01/07 13:37: I have a flowscript that handles a simple contact form, sending an email for each successful submit: var form = new Form('cocoon:/contact.form') form.s

Sending mail from flowscript: encoding problems

2007-01-30 Thread Tobia
I have a flowscript that handles a simple contact form, sending an email for each successful submit: var form = new Form('cocoon:/contact.form') form.showForm('contact.jx') var fields = getFormFields(form) var m = cocoon.getComponent(Packages.org.apache.cocoon.mail.MailSender.ROLE) m.setSmtpHost

upload and character encoding with cforms

2007-01-26 Thread Sébastien Geindre
Hi cocooners ! I'va a little pb with upload widget and encoding. Explanations: i use upload widget in a form to upload ( ;-) , it sounds good!) an file which is an XML file XML file example : in my flowscript, i try to handle the xml stream and give it to a cocoon pipe. i us

how to change xsp input encoding in xsl

2006-12-08 Thread 許議中
Hi! I want to do a form, when input some words, it can use url to call other web site to get a qrcode. the xsp input like this: the default font encoding is UTF-8. the xsl like this: http://qrcode.jp/qr?q= it ok

Re: Shift-jis encoding

2006-12-01 Thread 許議中
Shift_JIS will ok johnson 許議中 提到: > Hi! > > I want to use shift-jis and get this error > > An error has occured > org.xml.sax.SAXParseException: Invalid encoding name "Shift-JIS". > context://samples/i18n/hello.xml - 1:43 > > here is the xml > &

Shift-jis encoding

2006-11-30 Thread 許議中
Hi! I want to use shift-jis and get this error An error has occured org.xml.sax.SAXParseException: Invalid encoding name "Shift-JIS". context://samples/i18n/hello.xml - 1:43 here is the xml http://apache.org/cocoon/i18n/2.1"; xmlns:jx="http://apache.org/coc

Re: character encoding: utf-8 and ISO-8859-1 on Mac OS X with Safari

2006-09-16 Thread Frank MW
Yes, I tried all of that. Frank > Have you set the form parameter encoding to UTF-8? > (http://wiki.apache.org/cocoon/RequestParameterEncoding). > > Peter > > > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Frank MW > Sent: Friday,

RE: character encoding: utf-8 and ISO-8859-1 on Mac OS X with Safari

2006-09-15 Thread Binkley, Peter
Have you set the form parameter encoding to UTF-8? (http://wiki.apache.org/cocoon/RequestParameterEncoding). Peter -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Frank MW Sent: Friday, September 15, 2006 10:08 AM To: users@cocoon.apache.org Subject: character

character encoding: utf-8 and ISO-8859-1 on Mac OS X with Safari

2006-09-15 Thread Frank MW
Hi all, I have a problem with some special characters in a request parameter. This is the URL with the correct representation of characters: http://localhost:8080/webapp/gangyin/vokabelSuchen-rgyaḥ·mtsho.html Now 'rgyaḥ·mtsho' is what I need in an xslt-stylesheet. So in the sitemap I have the

Re: POST encoding problem

2006-06-27 Thread Jeroen Reijn
Hi Mark, in the web.xml of cocoon you can set the form-encoding form-encoding utf8 What does it look like? Regards, Reijn Mark Lundquist wrote: Hi all, I'm using Cocoon 2.1.8 w/ Jetty, and I'm having a problem with a character submitted in a form textarea

POST encoding problem

2006-06-23 Thread Mark Lundquist
54c3614.continue HTTP/1.1 Host: fido.wd-2.net User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gz

Re: Encoding from flowscript to component

2006-06-13 Thread Sébastien Chauvin
wrote: But is then the problem not just in your myComponent? What does it do? Ard Yes, the form encoding is well configured. We are able to retrieve correctly the accentuated characters from the form in the flowsript. The problem occurs when we pass the bean from

RE: Encoding from flowscript to component

2006-06-13 Thread Ard Schrijvers
omponent. > >If I do a myBean.getName() in the flowscript for exemple, > the string is well encoded. > >But if i do the same call in my component, the string is no > more well encoded. > >I think it's more a problem with the Rhino layer when > passing the objects from f

Re: Encoding from flowscript to component

2006-06-13 Thread Sébastien Chauvin
wscript to java object. Ard Schrijvers wrote: But is then the problem not just in your myComponent? What does it do? Ard Yes, the form encoding is well configured. We are able to retrieve correctly the accentuated characters from the form in the flowsript. The problem occurs when we pass

RE: Encoding from flowscript to component

2006-06-12 Thread Ard Schrijvers
the problem not just in your myComponent? What does it do? Ard Yes, the form encoding is well configured. We are able to retrieve correctly the accentuated characters from the form in the flowsript. The problem occurs when we pass the bean from the flowscript to the component. Ard Schrij

Re: Encoding from flowscript to component

2006-06-08 Thread Sébastien Chauvin
ava object. Ard Schrijvers wrote:   But is then the problem not just in your myComponent? What does it do?    Ard  Yes, the form encoding is well configured. We are able to retrieve correctly the accentuated characters from the form in the flowsript. The problem occurs when w

RE: Encoding from flowscript to component

2006-06-07 Thread Ard Schrijvers
  But is then the problem not just in your myComponent? What does it do?    Ard  Yes, the form encoding is well configured.We are able to retrieve correctly the accentuated characters from the form in the flowsript.The problem occurs when we pass the bean from the flowscript to the

Re: Encoding from flowscript to component

2006-06-07 Thread Sébastien Chauvin
Yes, the form encoding is well configured. We are able to retrieve correctly the accentuated characters from the form in the flowsript. The problem occurs when we pass the bean from the flowscript to the component. Ard Schrijvers wrote: In your web.xml, you have the form-encoding

RE: Encoding from flowscript to component

2006-06-07 Thread Ard Schrijvers
In your web.xml, you have the form-encoding configured correctly?? For example, form-encoding utf8 Regards Ard > > > Hello, > > We are using Cocoon 2.1.9 (Windows XP/Tomcat 5.0.30 and Suse 9/Tomcat > 5.0) and we have a problem with the encoding when passi

Encoding from flowscript to component

2006-06-02 Thread Sébastien Chauvin
Hello, We are using Cocoon 2.1.9 (Windows XP/Tomcat 5.0.30 and Suse 9/Tomcat 5.0) and we have a problem with the encoding when passing Java objects from the fowscript to an Avalon component. Here is a sample of our code: form.save(myBean); try { var myComponent

Fwd: Re: AW: AW: AW: encoding problem with eXist database

2006-05-25 Thread Abbas Mousavi
t;xmldb">   but this is not the correct way, exist has its own source factory (org.exist.cocoon.XMLDBSourceFactory)that is a modified version of (org.apache.cocoon.components.source.impl.XMLDBSourceFactory)so the correct configuration is ...which works correctly and has no encoding problem.

Re: AW: AW: AW: encoding problem with eXist database

2006-05-25 Thread Abbas Mousavi
and another point that I forgot:recently I have checked the cocoon.xconf bundeled with eXist distributionit uses  org.apache.cocoon.components.source.impl.XMLDBSourceFactoryjust like the default cocoon.xconf which has the encoding problem.I wonder why the people at eXist project implemented the

AW: AW: AW: encoding problem with eXist database

2006-05-25 Thread Christofer Dutz
Ok … I have to admit I haven’t used Modifyable Souces yet. I am used to XQuery with update extensions and XML-DB api. I would check if it is possible to set the encoding for the XML-Serializer. Since it is what generates the output.   Chris     Von: Abbas Mousavi [mailto

Re: AW: AW: encoding problem with eXist database

2006-05-24 Thread Abbas Mousavi
HiI dont know how to use String.getBytes(encoding) or XMLResourc.setContent(xml-string) , I explain my whole word:I have this in the sitemap                                                            that reads a html file from the disk and generates an xmland I have this function in my

AW: AW: encoding problem with eXist database

2006-05-24 Thread Christofer Dutz
How exactly do you stroe your data? Do you use XMLResourc.setContent(xml-string)? You could try explicitly seting the input-Strings encoding using the String.getBytes(encoding) method.   If this doesn’t help. I’d try the exist mailinglist, the guys there should be able to help you

Re: AW: encoding problem with eXist database

2006-05-24 Thread Abbas Mousavi
Hi chrisI have set container-encoding and form encoding and serializer encoding to utf-8.also I can write the same pipeline to other sources (for example to hard disk)truly by the same mechanism.I think this problem has some thing related to eXist because I have tested the webdav interface to

AW: encoding problem with eXist database

2006-05-24 Thread Christofer Dutz
Hi Abbas,   I think you should check the settings in your web.xml (container-encoding and form-encoding) and the serializer settings in the sitemap.xmap. I think I remember having some encoding-problems with CForms. I guess cocoon will provide content encoded in the format set here. And

encoding problem with eXist database

2006-05-24 Thread Abbas Mousavi
Hi I am using eXist with cocoon as my xml database. I can copy xml documents to eXist by a webdav client and exist admin client, and also can retrieve them correctlyby xmldb:exist://  protocol, but when I want to write documents to exist with flowscript it does not writes the unicode documents corr

Re: HTTP encoding: trouble with '/'

2006-04-27 Thread Mark Lundquist
On Apr 26, 2006, at 11:14 PM, Nathaniel Alfred wrote: I would guess that the difference between the laptop and the server is a proxy the request is going through to reach the server. D'oh!!! Now, why didn't I think of that?! I don't understand that you have problems with slashes. Are you u

RE: HTTP encoding: trouble with '/'

2006-04-26 Thread Nathaniel Alfred
to:[EMAIL PROTECTED] Sent: Donnerstag, 27. April 2006 03:18 To: [EMAIL PROTECTED] Subject: HTTP encoding: trouble with '/' Hello, me droogs... Maybe someone can help me with this problem... I've got this Cocoon site, and the graphic design calls for a big block of text at the top of

HTTP encoding: trouble with '/'

2006-04-26 Thread Mark Lundquist
Hello, me droogs... Maybe someone can help me with this problem... I've got this Cocoon site, and the graphic design calls for a big block of text at the top of each page, in Gill Sans font with a drop-shadow effect. OK, fine :-)... I put together a pipeline that renders the text in SVG a

Re: Forms encoding problem

2006-02-08 Thread Simone Gianni
Hi Derek, I encountered encoding problems here and there in java for a long time, because the JVM could not be enabled to use UTF-8 correctly because the underlying libc is not UTF-8 (or any other encoding) aware, expecially on Linux/*nix machines. Since you are having this problem on a

Re: Forms encoding problem

2006-02-08 Thread Derek Hohls
output character of integral value 160 that is not represented in specified output encoding of .Basically you're already deep in trouble because I think you've obviously a mixture of UTF-8 and other encodings... which is really a pain in the a...So, first I'd try to replace the de

Re: Forms encoding problem

2006-02-08 Thread Thomas Lutz
e pipeline.: java.lang.RuntimeException: org.xml.sax.SAXException: Attempt to output character of integral value 160 that is not represented in specified output encoding of . Basically you're already deep in trouble because I think you've obviously a mixture of UTF-8 and other encodings... which

Re: Forms encoding problem

2006-02-08 Thread Antonio Fiol Bonnín
2006/2/8, Derek Hohls <[EMAIL PROTECTED]>: > What I have done; > > Tried all the settings as suggested so far in this thread... > switching everything to UTF-8 - checked ALL my files for any > sign of ISO... (to avoid mixing concerns) ... still no luck! > > Looked in the offending forms and found t

Re: Forms encoding problem

2006-02-08 Thread Derek Hohls
as you are using iso-8859-1, just search for a file that's not in the right encoding, or a string 160 in your form files and delete this... (ultraedit or grep, depending on your system :-) ) probably one of your coders or editors uses utf-8, so you'll accidently inserted this utf-8 fragment

Re: Forms encoding problem

2006-02-08 Thread Nick Nagels
Hohls wrote: Antonio I guess I did - strange that it happens only on the one server.. maybe UNIX less "forgiving" than Linux. Is there a "default" encoding that Cocoon makes use of? IOW, if I import or reuse stylesheets from Cocoon samples etc. will I expect to see thes

Re: Forms encoding problem

2006-02-08 Thread Derek Hohls
nge that it happens only on the one > server.. maybe UNIX less "forgiving" than Linux. > > Is there a "default" encoding that Cocoon makes use of? > IOW, if I import or reuse stylesheets from Cocoon samples > etc. will I expect to see these in UTF-8? Can I simp

Re: Forms encoding problem

2006-02-08 Thread Nick Nagels
This helped me a lot. Greets Nick Nagels IT Specialist @ KULeuven for EuroGenTest Derek Hohls wrote: Antonio I guess I did - strange that it happens only on the one server.. maybe UNIX less "forgiving" than Linux. Is there a "default" encoding that Cocoo

Re: Forms encoding problem

2006-02-07 Thread Derek Hohls
Antonio I guess I did - strange that it happens only on the one server.. maybe UNIX less "forgiving" than Linux. Is there a "default" encoding that Cocoon makes use of? IOW, if I import or reuse stylesheets from Cocoon samples etc. will I expect to see these in UTF-8? C

Re: Forms encoding problem

2006-02-07 Thread Antonio Fiol Bonnín
2006/2/8, Derek Hohls <[EMAIL PROTECTED]>: > PS Is there any good reason to prefer ISO-8859-1 over > UTF-8 ... these seem to be used interchangeably, but I > guess they are not? They are different. If your app only uses "latin" characters, you could use one or the other. Otherwise, you should us

Re: Forms encoding problem

2006-02-07 Thread Derek Hohls
ot enough time, just threw out the escaped chars. but as you are using iso-8859-1, just search for a file that's not in the right encoding, or a string 160 in your form files and delete this... (ultraedit or grep, depending on your system :-) ) probably one of your coders or editors uses

Re: Forms encoding problem

2006-02-07 Thread Bertrand Delacretaz
Le 7 févr. 06, à 14:37, Derek Hohls a écrit : ...Attempt to output character of integral value 160 that is not represented in specified output encoding of ... Might be related to your JVMs running with different default encodings. The JVM's default encoding can be set with the file.enc

Re: Forms encoding problem

2006-02-07 Thread Thomas Lutz
aped chars. but as you are using iso-8859-1, just search for a file that's not in the right encoding, or a string 160 in your form files and delete this... (ultraedit or grep, depending on your system :-) ) probably one of your coders or editors uses utf-8, so you'll accidently ins

Forms encoding problem

2006-02-07 Thread Derek Hohls
the database) is: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException: org.xml.sax.SAXException: Attempt to output character of integral value 160 that is not represented in specified output encoding of . [and no, there is no word missing just before

XHTMLSerializer: The default encoding of this JVM "ISO8859_15" is not supported

2006-02-06 Thread Antonio Fiol Bonnín
Hello, I am getting this exception when configuring a XHTMLSerializer with UTF-8 encoding. org.apache.cocoon.components.serializers.encoding.CharsetFactory$CharsetFactoryException: The default encoding of this JVM "ISO8859_15" is not supported

Re: XML-Serializer encoding

2006-01-17 Thread christian bindeballe
As I thought, it was the "html-include" serializer in {base}/portal/sitemap.xmap that needed some fitting :) cb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XML-Serializer encoding

2006-01-17 Thread christian bindeballe
Edwin Kapauni schrieb: UTF-8 no Best way to test is from a very minimalistic sample application with just this serializer configuration and a short pipeline with only UTF-8 no http://www.netzpolitik.org/feed"/

Re: XML-Serializer encoding

2006-01-17 Thread Edwin Kapauni
christian bindeballe wrote: [...] also, Marc Portier wrote: (see this thread, message-ID <[EMAIL PROTECTED]>) never change your container-encoding unless you have a servlet container of which you can specify the used encoding applied in decoding of url's and request parameters

Re: XML-Serializer encoding

2006-01-17 Thread christian bindeballe
Edwin Kapauni schrieb: christian bindeballe wrote: [...] [quote] Since the servlet specification requires that the ISO-8859-1 encoding is used (by default), you should never change this value unless you have a buggy servlet container.[/quote] Citation without sources? Where did you get

Re: XML-Serializer encoding

2006-01-17 Thread Edwin Kapauni
christian bindeballe wrote: [...] [quote] Since the servlet specification requires that the ISO-8859-1 encoding is used (by default), you should never change this value unless you have a buggy servlet container.[/quote] Citation without sources? Where did you get that nonsense from

Re: XML-Serializer encoding

2006-01-17 Thread christian bindeballe
Edwin Kapauni schrieb: The first one goes into HTTP response header and is needed by any browser to recognize the character encoding of the following content. You may run your own test by just omitting it and checking HTTP response header of your output. The second one is telling the

Re: XML-Serializer encoding

2006-01-17 Thread Peter Flynn
//en.wikipedia.org/wiki/Character_encoding ;) > > it mentions the difficulty between distinguishing character sets and > character encoding. See also the XML FAQ at http://xml.silmaril.ie/authors/characters/ ///Peter

Re: XML-Serializer encoding

2006-01-17 Thread christian bindeballe
encoding. cb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

<    1   2   3   4   5   6   7   >