cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jos Snellings <jos.snelli...@upperware.biz>
Subject Re: more encoding problems
Date Thu, 20 Sep 2012 13:05:33 GMT
What does your web.xml look like?

On Thu, Sep 20, 2012 at 2:51 PM, <mika@digikartta.net> wrote:

>
> Also XML-element tags in xsp-files have question marks instead of scands.
> I also verified that the database is delivering the right stuff. The same
> database used in this (http://88.148.163.59/cocoon/**
> palaute_app/linkki/html/1059<http://88.148.163.59/cocoon/palaute_app/linkki/html/1059>),
> works with local copy of cocoon.
>
> Updated data, just checked this out. Even this one will fail.
> sitemap:
> <map:match pattern="koe">
> <map:generate type="serverpages" src="koe.xsp">
> </map:generate>
> <map:serialize type="xml"/>
> </map:match>
>
> koe.xsp:
> <?xml version="1.0" encoding="utf-8"?>
> <xsp:page language="java"
>           xmlns:xsp="http://apache.org/**xsp <http://apache.org/xsp>">
> <page>
> <Äiti></Äiti>
> </page>
> </xsp:page>
>
> Works locally.
>
> - mika -
>
>
> On Thu, 20 Sep 2012 15:14:35 +0300, <mika@digikartta.net> wrote:
>
>> Hi Jos,
>> yep, that's right, the text seems not to be utf-8.
>> Same problem occurs in another page where the text not working comes
>> from flowscript.
>> 1) No it's not, it's a copy. But you can verify everything is ok in
>> http://88.148.163.59/cocoon/**palaute_app/linkki/1059<http://88.148.163.59/cocoon/palaute_app/linkki/1059>(database
reader).
>> Seems to me, that the text falls apart in the text generator.
>> 2) the url is in private network
>>
>> - mika -
>>
>> On Thu, 20 Sep 2012 11:42:32 +0200, Jos Snellings
>> <jos.snellings@upperware.biz> wrote:
>>
>>> Hi Mika,
>>>
>>> Your page declares utf-8 as a character set, but the text you send is
>>> not in utf-8. Hence the question mark
>>> characters.
>>> Question 1: is it the same database that is accessed? (or rather, a
>>> copy)
>>> Question 2: what is the database url?
>>>
>>> Cheers,
>>> Jos
>>>
>>> On Thu, Sep 20, 2012 at 9:22 AM,  wrote:
>>>
>>>  Hi,
>>>  C2.11, I moved my app from one server to another, which resulted
>>> some pages to broke that is scands won't encode properly.
>>>  I have this in my sitemap:
>>>
>>>  You can try this out:
>>>  Old server
>>>  http://77.240.23.91/cocoon/**palaute_app/linkki/841<http://77.240.23.91/cocoon/palaute_app/linkki/841>[2]
works
>>>  http://77.240.23.91/cocoon/**palaute_app/linkki/html/841<http://77.240.23.91/cocoon/palaute_app/linkki/html/841>[3]
works
>>>  New server
>>>  http://88.148.163.59/cocoon/**palaute_app/linkki/1059<http://88.148.163.59/cocoon/palaute_app/linkki/1059>[4]
works
>>>  http://88.148.163.59/cocoon/**palaute_app/linkki/html/1059<http://88.148.163.59/cocoon/palaute_app/linkki/html/1059>[5]
doesn't
>>> work !!
>>>
>>>  Any thoughts?
>>>  I have tried a lot of things without success.
>>>
>>>  - mika -
>>>
>>>
>>>
>>> ------------------------------**------------------------------**
>>> ---------
>>>  To unsubscribe, e-mail: users-unsubscribe@cocoon.**apache.org<users-unsubscribe@cocoon.apache.org>[6]
>>>  For additional commands, e-mail: users-help@cocoon.apache.org [7]
>>>
>>> --
>>> The doctrine of human equality reposes on this: that there is no man
>>> really clever who has not found that he is stupid.
>>>         -- Gilbert K. Chesterson
>>>
>>>
>>>
>>> Links:
>>> ------
>>> [1] mailto:mika@digikartta.net
>>> [2] http://77.240.23.91/cocoon/**palaute_app/linkki/841<http://77.240.23.91/cocoon/palaute_app/linkki/841>
>>> [3] http://77.240.23.91/cocoon/**palaute_app/linkki/html/841<http://77.240.23.91/cocoon/palaute_app/linkki/html/841>
>>> [4] http://88.148.163.59/cocoon/**palaute_app/linkki/1059<http://88.148.163.59/cocoon/palaute_app/linkki/1059>
>>> [5] http://88.148.163.59/cocoon/**palaute_app/linkki/html/1059<http://88.148.163.59/cocoon/palaute_app/linkki/html/1059>
>>> [6] mailto:users-unsubscribe@**cocoon.apache.org<users-unsubscribe@cocoon.apache.org>
>>> [7] mailto:users-help@cocoon.**apache.org <users-help@cocoon.apache.org>
>>>
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.**apache.org<users-unsubscribe@cocoon.apache.org>
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.**apache.org<users-unsubscribe@cocoon.apache.org>
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


-- 
The doctrine of human equality reposes on this: that there is no man
really clever who has not found that he is stupid.
        -- Gilbert K. Chesterson

Mime
View raw message