Yes, don't do that. :-) Use "UTF-8". I don't know of any public constant, only the "private" NSStringUtilities.UTF8_ENCODING
On Apr 6, 2011, at 9:03 AM, Amedeo Mantica wrote:
> this for example:
> in my Application Class
>
> ERXMessageEncoding.setDefaultEncodingForAllLanguages("UTF8");
>
> Regards
> Amedeo
>
>
> On 05/apr/2011, at 21.47, Chuck Hill wrote:
>
>> You need to have all of your application consistent in the form value
>> encoding. Make sure that you are not using the obsolete string constant
>> "UTF8" anywhere. The wiki has more details.
>>
>> Chuck
>>
>> On Apr 5, 2011, at 3:43 AM, Amedeo Mantica wrote:
>>
>>> After moving my app from sessions IDs stored in URL to Cookie, I get this
>>> when submitting a form
>>>
>>> Any suggestion?
>>>
>>> Amed
>>>
>>>
>>>
>>> Error: java.lang.IllegalStateException: Default form value encoding
>>> was changed after parsing multi-part form. Form values will be lost.
>>> Reason: Default form value encoding was changed after parsing
>>> multi-part form. Form values will be lost.
>>> Stack trace:
>>> File Line# Method Package
>>> WORequest.java 767 setDefaultFormValueEncoding
>>> com.webobjects.appserver
>>> ERXMessageEncoding.java 168 setDefaultFormValueEncodingToRequest
>>> er.extensions.appserver
>>> ERXMessageEncoding.java 173 setDefaultFormValueEncodingToRequest
>>> er.extensions.appserver
>>> ERXSession.java 540 takeValuesFromRequest er.extensions.appserver
>>> WOApplication.java 1724 takeValuesFromRequest com.webobjects.appserver
>>> ERXAjaxApplication.java 78 takeValuesFromRequest
>>> er.extensions.appserver.ajax
>>> WOComponentRequestHandler.java 199 _dispatchWithPreparedPage
>>> com.webobjects.appserver._private
>>> WOComponentRequestHandler.java 298 _dispatchWithPreparedSession
>>> com.webobjects.appserver._private
>>> WOComponentRequestHandler.java 332
>>> _dispatchWithPreparedApplication com.webobjects.appserver._private
>>> WOComponentRequestHandler.java 369 _handleRequest
>>> com.webobjects.appserver._private
>>> WOComponentRequestHandler.java 442 handleRequest
>>> com.webobjects.appserver._private
>>> WOApplication.java 1687 dispatchRequest com.webobjects.appserver
>>> ERXApplication.java 1984 dispatchRequestImmediately
>>> er.extensions.appserver
>>> ERXApplication.java 1949 dispatchRequest er.extensions.appserver
>>> WOWorkerThread.java 144 runOnce com.webobjects.appserver._private
>>> WOWorkerThread.java 226 run com.webobjects.appserver._private
>>> Thread.java 680 run
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>>
>>> This email sent to [email protected]
>>
>> --
>> Chuck Hill Senior Consultant / VP Development
>>
>> Practical WebObjects - for developers who want to increase their overall
>> knowledge of WebObjects or who are trying to solve specific problems.
>> http://www.global-village.net/products/practical_webobjects
>>
>>
>>
>>
>>
>>
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>
> This email sent to [email protected]
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
