Unexpected encoding in output

2009-04-03 Thread Peter Flynn
with the XML Declaration claiming ?xml version=1.0 encoding=ISO-8859-1? But the home page is UTF-8, the ucc.xsl 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

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 serializers there, for example

Re: Stream generator encoding problem with Cocoon 2.1.11

2009-03-19 Thread Petteri Sulonen
, 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. By the way, the stream generator sample

Re: Stream generator encoding problem with Cocoon 2.1.11

2009-03-19 Thread Petteri Sulonen
). 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. By the way, the stream generator sample at [COCOON_HOME]/samples/stream/uploadstring breaks

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

Re: Stream generator encoding problem with Cocoon 2.1.11

2009-03-18 Thread Víctor Pergolesi
); ... } 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 a large Cocoon application

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 list

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

2009-01-05 Thread Gabriel Gruber
jogil...@hotmail.com 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

Re: Character encoding problem with latest Saxon + Cocoon 2.1

2008-12-31 Thread Bertrand Delacretaz
€... 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

Re: Character encoding problem with latest Saxon + Cocoon 2.1

2008-12-31 Thread Mark Lundquist
with 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 but I

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: map:generate type=file src={request-param:file}/ I'm really surprised this works. It seems to be a valid alternative to upload protocol. But then I wonder why having the latter

SSF and URL Encoding

2008-05-06 Thread Robin Wyles
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... a) How can I re-encode the part of the URL I am passing as a request

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 protocols. matching happens on de-coded URLS

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, I'm

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-26 Thread Stefan Ludwig
for FileGenerator was: map:generate type=file src=upload://file/ best regards 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

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 make

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 when I run Cocoon 2.1.5.1

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 Windows, but when I try

Re: Cforms and Character Encoding

2008-01-23 Thread Peter Sparkes
Thanks Joerg, The problem turned out to be in web.xml I amended init-param param-nameform-encoding/param-name param-valueISO-8859-1/param-value /init-param To init-param param-nameform-encoding/param-name param-valueUTF-8/param-value /init-param

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 param-nameform-encoding/param-name param-valueISO-8859-1/param-value To param-nameform-encoding/param-name param-valueUTF-8/param-value and now everything is in UTF-8 and works properly

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 param-nameform-encoding/param-name param-valueISO-8859-1/param-value To param-nameform-encoding/param-name param-valueUTF-8/param-value and now everything is in UTF-8

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 param-nameform-encoding/param-name param-valueISO-8859-1/param-value To param-nameform-encoding

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 param-nameform-encoding/param-name param-valueISO-8859-1/param-value To param-nameform-encoding/param-name param-valueUTF-8/param-value and now everything

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 â#130;¬ and UK pound sign £ to £ from the field widget. I am using the saveDocument function from the samples and have set

Need help Character Encoding :-((

2007-12-12 Thread Andreas Busch
=$contextPath //search.html?queryString=xsl:value-of select=../@query-string /amp;pagelength=xsl:value-of select=../@page-length / /xsl:variable Serializers are changed to ISO-8859-1 encoding Need realy help for workaround or bugfixes Cocoon is version 2.1.9 thanks in advance Andreas

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 search

RE: Need help Character Encoding :-((

2007-12-12 Thread Andreas Busch
); myform.submit(); } } }; 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

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 a href= 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

Re: Need help Character Encoding :-((

2007-12-12 Thread Johannes Textor
. Hmm I was unaware of this problem, thanks for the info Joerg. Instead of creating a link with a href= 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

Re: Need help Character Encoding :-((

2007-12-12 Thread Joerg Heinicke
with xsl:variable name=baseurlxsl:value-of select=$contextPath //search.html?queryString=xsl:value-of select=../@query-string /amp;pagelength=xsl:value-of select=../@page-length / /xsl:variable Serializers are changed to ISO-8859-1 encoding Need realy help for workaround or bugfixes Unfortunately

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 decode

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 a href= 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

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.properties

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 delivered

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 delivered

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-10 Thread Joerg Heinicke
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/viewvc?view

wsproxy encoding and user-agent

2007-04-09 Thread bam
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-header' but it didn't worked : map:match

Re: wsproxy encoding and user-agent

2007-04-09 Thread Joerg Heinicke
(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 discouraging comment

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)

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')

RE: Sending mail from flowscript: encoding problems

2007-01-30 Thread Joost Kuif
web.xml specify: init-param param-namecontainer-encoding/param-name param-valueUTF-8/param-value /init-param init-param param-nameform-encoding/param-name param-valueUTF-8/param-value /init-param I think this did the trick with our applications. Joost

Re: Sending mail from flowscript: encoding problems

2007-01-30 Thread Tobia
Joost Kuif wrote: init-param param-nameform-encoding/param-name param-valueUTF-8/param-value /init-param 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

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 fd:upload id=upload mime-types=text/xml required=true/ XML file example : ?xml version=1.0 encoding=UTF-8

how to change xsp input encoding in xsl

2006-12-08 Thread 許議中
//xsp:attribute /input input type=submit name=submit value=Submit/ /form the default font encoding is UTF-8. the xsl like this: img align=middle width=100 height=100 xsl:attribute name=srchttp://qrcode.jp/qr?q=xsl:value-of select=form/input/@value/ /xsl:attribute

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 ?xml version=1.0 encoding=Shift-JIS? page xmlns:i18n

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 ?xml version=1.0 encoding=Shift-JIS? page xmlns:i18n=http://apache.org/cocoon/i18n/2.1; xmlns:jx

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, September 15, 2006 10:08 AM

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

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

POST encoding problem

2006-06-23 Thread Mark Lundquist
: 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: gzip,deflate Accept-Charset: ISO

Re: Encoding from flowscript to component

2006-06-13 Thread Sébastien Chauvin
: 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 component. Ard

RE: Encoding from flowscript to component

2006-06-13 Thread Ard Schrijvers
more a problem with the Rhino layer when passing the objects from flowscript 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

Re: Encoding from flowscript to component

2006-06-13 Thread Sébastien Chauvin
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

RE: Encoding from flowscript to component

2006-06-12 Thread Ard Schrijvers
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 Schrijvers wrote: In your

Re: Encoding from flowscript to component

2006-06-08 Thread Sébastien Chauvin
. Ard Schrijvers wrote: But is then theproblem 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

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, init-param param-nameform-encoding/param-name param-valueutf8/param-value /init-param 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

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
But is then theproblem 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

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

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: 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

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

2006-05-25 Thread Abbas Mousavi
e.impl.XMLDBSourceFactory)so the correct configuration is component-instance class="org.exist.cocoon.XMLDBSourceFactory" name="xmldb"driver class="org.exist.xmldb.DatabaseImpl" type="exist"/...which works correctly and has no encoding problem.

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

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

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

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 solve

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 sitemapmap:match pattern="*/*.xml"map:generate type="html" src=""/map:transform src=""/map:serialize type="

RE: HTTP encoding: trouble with '/'

2006-04-27 Thread Nathaniel Alfred
. -Original Message- From: Mark Lundquist [mailto:[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

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

RE: CForms, et init-param container-encoding ?

2006-02-21 Thread BRAUD Denis
Bonjour, J'ai rencontré également des soucis avec l'encoding. Le container-encoding détermine l'encoding du serveur où est installé cocoon. (ou plutôt un des encodings dispo sur le serveur) Le form-encoding détermine l'encoding de la request. Celui ci, dans la config, ne propose qu'une valeur

Re: CForms, et init-param container-encoding ?

2006-02-15 Thread Sylvain Wallez
Frédéric Glorieux wrote: Cocoon 2.1.8 Dans mon web.xml, j'ai décommenter init-param param-namecontainer-encoding/param-name param-valueutf-8/param-value /init-param J'ai l'impression que cela a un mauvais effet sur CForms (les valeurs récupérées sont mal décodées), en

Re: CForms, et init-param container-encoding ?

2006-02-15 Thread Frédéric Glorieux
[container-encoding] Perso, après quelques déboires et pas mal d'incantations vaudou pour essayer d'avoir des accents dans mes formulaires, je passe tout en UTF-8 (xxx-encoding et sérialisation), et ça marche :-) Conclusion : ne pas toucher à ce qui marche. Merci pour ce conseil rassurant

Re: CForms, et init-param container-encoding ?

2006-02-15 Thread Sylvain Wallez
Frédéric Glorieux wrote: [container-encoding] Perso, après quelques déboires et pas mal d'incantations vaudou pour essayer d'avoir des accents dans mes formulaires, je passe tout en UTF-8 (xxx-encoding et sérialisation), et ça marche :-) Conclusion : ne pas toucher à ce qui marche. Merci

CForms, et init-param container-encoding ?

2006-02-14 Thread Frédéric Glorieux
Cocoon 2.1.8 Dans mon web.xml, j'ai décommenter init-param param-namecontainer-encoding/param-name param-valueutf-8/param-value /init-param J'ai l'impression que cela a un mauvais effet sur CForms (les valeurs récupérées sont mal décodées), en

Re: Forms encoding problem

2006-02-08 Thread Nick Nagels
This helped me a lot. map:act type=set-encoding map:parameter name=form-encoding value=UTF-8/ /map:act 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

Re: Forms encoding problem

2006-02-08 Thread Derek Hohls
Nick Thanks - where exactly in the pipeline did you insert this? Derek [EMAIL PROTECTED] 2006/02/08 11:56:39 AM This helped me a lot. map:act type=set-encoding map:parameter name=form-encoding value=UTF-8/ /map:act Greets Nick Nagels IT Specialist @ KULeuven for EuroGenTest Derek

Re: Forms encoding problem

2006-02-08 Thread Nick Nagels
As the first statement map:pipelines map:pipeline map:act type=set-encoding map:parameter name=form-encoding value=UTF-8/ /map:act This is the action it uses: map:action name=set-encoding src=org.apache.cocoon.acting.SetCharacterEncodingAction/ Hope

Re: Forms encoding problem

2006-02-08 Thread Derek Hohls
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 (and doesn't know

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 the #160;

Re: Forms encoding problem

2006-02-08 Thread Thomas Lutz
.: 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 is really a pain

Re: Forms encoding problem

2006-02-08 Thread Derek Hohls
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 default sax parser with saxon. this will cause some headache (abo

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

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

Re: Forms encoding problem

2006-02-07 Thread Thomas Lutz
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 utf-8, so you'll accidently inserted

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.encoding

Re: Forms encoding problem

2006-02-07 Thread Derek Hohls
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 utf-8, so you'll accidently

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 use

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? Can I simply omit

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 Edwin Kapauni
christian bindeballe wrote: [...] That's right. My mistake. I merely deducted the encoding from some characters used inside the text of the feeds as for example 8221; which are clearly non-Latin-1 characters. Since both feeds have ISO-8859-1 in their response headers it means that these feeds

Re: XML-Serializer encoding

2006-01-17 Thread christian bindeballe
Edwin Kapauni schrieb: Don't mix characterset and character encoding. 8221 is decimal notation of unicode character U+201D. iso-8859-1 or utf-8 are just character encodings. Encoding and formatting of both your sources is ok, but selection of iso-8859-1 is a poor choice regarding readability

Re: XML-Serializer encoding

2006-01-17 Thread Marc Portier
codepoints to byte-sequences is regulated by the encoding - there is more then one encoding to choose from: most common known are iso-8859-1 (latin-1), cp1252, utf-16, utf-8. In other words the same codepoint/glyph can be interchanged in totally different bytesequences - latin-1 is a single byte encoding

Re: XML-Serializer encoding

2006-01-17 Thread Edwin Kapauni
christian bindeballe wrote: [...] I figured last night that what was causing my funny output was not the character set nor the encoding, but the way my XSL handled the feeds. That's the reason why I recommended you omitting the transformation step and to watch what's happening. map:match

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]

Re: XML-Serializer encoding

2006-01-17 Thread Peter Flynn
;) it mentions the difficulty between distinguishing character sets and character encoding. See also the XML FAQ at http://xml.silmaril.ie/authors/characters/ ///Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

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

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

<    1   2   3   4   5   6   >