You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Rafal Markut <ra...@mediawave.de> on 2005/10/18 10:18:47 UTC
Problem Encoding - Forms content - additional information
Hello,
I forgot to add one information. Text from the Form is wrong encoded (I
don't get correct characters). It suppose to be in UTF-8. I assume that they
are US-ASCII or ISO-8859-1, but I'm not sure about it.
with best regards,
Rafal
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Problem Encoding - Forms content - additional information
Posted by Rafal Markut <ra...@mediawave.de>.
Hello,
I used Filter-Servlet - it helped.
with best regards,
Rafal
----- Original Message -----
From: "sergiu gordea" <gs...@ifit.uni-klu.ac.at>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Tuesday, October 18, 2005 11:03 AM
Subject: Re: Problem Encoding - Forms content - additional information
>
> search in mailing list for "encoding" it was a disscussion about it.
> You may get some new hints. I suggest to get the turbine sources
> and to debug it.
>
> I think that your encoding in webpage is correct, but because of some
> defaults turbine
> tries to decode them with a different charset.
>
> I think you have to set explicitly the charset in RundataObject
>
> public class DefaultTurbineRunData
> extends RecyclableSupport
> implements TurbineRunData, Recyclable
> {
> /** The default locale. */
> private static Locale defaultLocale = null;
>
> /** The default charset. */
> private static String defaultCharSet = null;
>
> see also: ValueParser.setCharacterEncoding(String s);
>
> Best,
>
> Sergiu
>
>
>
> Rafal Markut wrote:
>
>> No, it's a normal form.
>>
>> with best regards,
>> Rafal
>
>
>>
>> ----- Original Message ----- From: "sergiu gordea"
>> <gs...@ifit.uni-klu.ac.at>
>> To: "Turbine Users List" <tu...@jakarta.apache.org>
>> Sent: Tuesday, October 18, 2005 10:21 AM
>> Subject: Re: Problem Encoding - Forms content - additional information
>>
>>
>>>
>>> Is it a multipart form?
>>>
>>> We have had some problems with them and we used ISO-8859-1, at the end
>>> ..
>>>
>>> Best,
>>>
>>> Sergiu
>>>
>>> Rafal Markut wrote:
>>>
>>>> Hello,
>>>>
>>>> I forgot to add one information. Text from the Form is wrong encoded (I
>>>> don't get correct characters). It suppose to be in UTF-8. I assume that
>>>> they are US-ASCII or ISO-8859-1, but I'm not sure about it.
>>>>
>>>> with best regards,
>>>> Rafal
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Problem Encoding - Forms content - additional information
Posted by sergiu gordea <gs...@ifit.uni-klu.ac.at>.
search in mailing list for "encoding" it was a disscussion about it.
You may get some new hints. I suggest to get the turbine sources
and to debug it.
I think that your encoding in webpage is correct, but because of some
defaults turbine
tries to decode them with a different charset.
I think you have to set explicitly the charset in RundataObject
public class DefaultTurbineRunData
extends RecyclableSupport
implements TurbineRunData, Recyclable
{
/** The default locale. */
private static Locale defaultLocale = null;
/** The default charset. */
private static String defaultCharSet = null;
see also: ValueParser.setCharacterEncoding(String s);
Best,
Sergiu
Rafal Markut wrote:
> No, it's a normal form.
>
> with best regards,
> Rafal
>
> ----- Original Message ----- From: "sergiu gordea"
> <gs...@ifit.uni-klu.ac.at>
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Sent: Tuesday, October 18, 2005 10:21 AM
> Subject: Re: Problem Encoding - Forms content - additional information
>
>
>>
>> Is it a multipart form?
>>
>> We have had some problems with them and we used ISO-8859-1, at the
>> end ..
>>
>> Best,
>>
>> Sergiu
>>
>> Rafal Markut wrote:
>>
>>> Hello,
>>>
>>> I forgot to add one information. Text from the Form is wrong encoded
>>> (I don't get correct characters). It suppose to be in UTF-8. I
>>> assume that they are US-ASCII or ISO-8859-1, but I'm not sure about it.
>>>
>>> with best regards,
>>> Rafal
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Problem Encoding - Forms content - additional information
Posted by Rafal Markut <ra...@mediawave.de>.
No, it's a normal form.
with best regards,
Rafal
----- Original Message -----
From: "sergiu gordea" <gs...@ifit.uni-klu.ac.at>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Tuesday, October 18, 2005 10:21 AM
Subject: Re: Problem Encoding - Forms content - additional information
>
> Is it a multipart form?
>
> We have had some problems with them and we used ISO-8859-1, at the end ..
>
> Best,
>
> Sergiu
>
> Rafal Markut wrote:
>
>> Hello,
>>
>> I forgot to add one information. Text from the Form is wrong encoded
>> (I don't get correct characters). It suppose to be in UTF-8. I assume
>> that they are US-ASCII or ISO-8859-1, but I'm not sure about it.
>>
>> with best regards,
>> Rafal
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Problem Encoding - Forms content - additional information
Posted by sergiu gordea <gs...@ifit.uni-klu.ac.at>.
Is it a multipart form?
We have had some problems with them and we used ISO-8859-1, at the end ..
Best,
Sergiu
Rafal Markut wrote:
> Hello,
>
> I forgot to add one information. Text from the Form is wrong encoded
> (I don't get correct characters). It suppose to be in UTF-8. I assume
> that they are US-ASCII or ISO-8859-1, but I'm not sure about it.
>
> with best regards,
> Rafal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org