You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "luna Guo (JIRA)" <ji...@apache.org> on 2008/10/03 04:56:44 UTC

[jira] Created: (TAP5-250) How to set character encoding

How to set character encoding 
------------------------------

                 Key: TAP5-250
                 URL: https://issues.apache.org/jira/browse/TAP5-250
             Project: Tapestry 5
          Issue Type: Question
          Components: tapestry-core
    Affects Versions: 5.0.15
            Reporter: luna Guo
            Priority: Minor


How to set character encoding for request and response.The defulat is UTF-8.
When working with other applications that are not using UTF-8 encoding for page.Even in some situation they require a specific response encoding.
I've tried the Meta annotation, it only works with content type.The character set is allways UTF-8.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAP5-250) How to set character encoding

Posted by "Filip S. Adamsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636628#action_12636628 ] 

Filip S. Adamsen commented on TAP5-250:
---------------------------------------

You want to set character encoding for request and response, you say. That's what I just told you how to do. UTF-8 is just a sensible default.

> How to set character encoding 
> ------------------------------
>
>                 Key: TAP5-250
>                 URL: https://issues.apache.org/jira/browse/TAP5-250
>             Project: Tapestry 5
>          Issue Type: Question
>          Components: tapestry-core
>    Affects Versions: 5.0.15
>            Reporter: luna Guo
>            Priority: Minor
>
> How to set character encoding for request and response.The defulat is UTF-8.
> When working with other applications that are not using UTF-8 encoding for page.Even in some situation they require a specific response encoding.
> I've tried the Meta annotation, it only works with content type.The character set is allways UTF-8.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAP5-250) How to set character encoding

Posted by "luna Guo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636792#action_12636792 ] 

luna Guo commented on TAP5-250:
-------------------------------

There is no @ResponseEncoding to change charset page-by-page in tapestry 5.0.15 .

> How to set character encoding 
> ------------------------------
>
>                 Key: TAP5-250
>                 URL: https://issues.apache.org/jira/browse/TAP5-250
>             Project: Tapestry 5
>          Issue Type: Question
>          Components: tapestry-core
>    Affects Versions: 5.0.15
>            Reporter: luna Guo
>            Priority: Minor
>
> How to set character encoding for request and response.The defulat is UTF-8.
> When working with other applications that are not using UTF-8 encoding for page.Even in some situation they require a specific response encoding.
> I've tried the Meta annotation, it only works with content type.The character set is allways UTF-8.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAP5-250) How to set character encoding

Posted by "luna Guo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636593#action_12636593 ] 

luna Guo commented on TAP5-250:
-------------------------------

Filip S. Adamsen ,thanks.
I have ask on the user mailing list,but......
I hnow tapestry.charset ,but that's not what i want.
@ResponseEncoding annotation is great,but  it's removed from 5.0.14.

The character set for all outgoing markup and all incoming requests is "UTF-8". (from http://tapestry.apache.org/tapestry5/guide/localization.html )
This page has change recently,there is a meta-data key for changing page encoding before.
Can i understand this as tapestry only support UTF-8 encoding?
So i think it's a issue ,not a question.

> How to set character encoding 
> ------------------------------
>
>                 Key: TAP5-250
>                 URL: https://issues.apache.org/jira/browse/TAP5-250
>             Project: Tapestry 5
>          Issue Type: Question
>          Components: tapestry-core
>    Affects Versions: 5.0.15
>            Reporter: luna Guo
>            Priority: Minor
>
> How to set character encoding for request and response.The defulat is UTF-8.
> When working with other applications that are not using UTF-8 encoding for page.Even in some situation they require a specific response encoding.
> I've tried the Meta annotation, it only works with content type.The character set is allways UTF-8.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAP5-250) How to set character encoding

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-250.
-------------------------------------

    Resolution: Invalid
      Assignee: Howard M. Lewis Ship

Character set is now set via configuration and applies to the entire application. You can no longer set character set for individual pages.  Per-page character set caused many, many problems especially in an Ajax world (where content for a browser page may be dynamically assembled from bits and pieces of many Tapestry pages).

> How to set character encoding 
> ------------------------------
>
>                 Key: TAP5-250
>                 URL: https://issues.apache.org/jira/browse/TAP5-250
>             Project: Tapestry 5
>          Issue Type: Question
>          Components: tapestry-core
>    Affects Versions: 5.0.15
>            Reporter: luna Guo
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> How to set character encoding for request and response.The defulat is UTF-8.
> When working with other applications that are not using UTF-8 encoding for page.Even in some situation they require a specific response encoding.
> I've tried the Meta annotation, it only works with content type.The character set is allways UTF-8.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAP5-250) How to set character encoding

Posted by "Filip S. Adamsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636816#action_12636816 ] 

Filip S. Adamsen commented on TAP5-250:
---------------------------------------

Oops, I didn't catch that, sorry. It was apparently removed when the application-wide charset was introduced.

> How to set character encoding 
> ------------------------------
>
>                 Key: TAP5-250
>                 URL: https://issues.apache.org/jira/browse/TAP5-250
>             Project: Tapestry 5
>          Issue Type: Question
>          Components: tapestry-core
>    Affects Versions: 5.0.15
>            Reporter: luna Guo
>            Priority: Minor
>
> How to set character encoding for request and response.The defulat is UTF-8.
> When working with other applications that are not using UTF-8 encoding for page.Even in some situation they require a specific response encoding.
> I've tried the Meta annotation, it only works with content type.The character set is allways UTF-8.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAP5-250) How to set character encoding

Posted by "Filip S. Adamsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636563#action_12636563 ] 

Filip S. Adamsen commented on TAP5-250:
---------------------------------------

You want to set the tapestry.charset (SymbolConstants.CHARSET) symbol to something else than UTF-8. You could also use the @ResponseEncoding annotation if you need to override the charset on a page-by-page basis.

That said, JIRA is not for support - it's for issue tracking. Next time you have a question, ask on the user mailing list instead.

Please mark the issue as invalid and close it.

> How to set character encoding 
> ------------------------------
>
>                 Key: TAP5-250
>                 URL: https://issues.apache.org/jira/browse/TAP5-250
>             Project: Tapestry 5
>          Issue Type: Question
>          Components: tapestry-core
>    Affects Versions: 5.0.15
>            Reporter: luna Guo
>            Priority: Minor
>
> How to set character encoding for request and response.The defulat is UTF-8.
> When working with other applications that are not using UTF-8 encoding for page.Even in some situation they require a specific response encoding.
> I've tried the Meta annotation, it only works with content type.The character set is allways UTF-8.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org