You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ted Steen (JIRA)" <de...@tapestry.apache.org> on 2008/09/12 00:37:44 UTC

[jira] Resolved: (TAPESTRY-1641) TextStreamResponse could do with a text encoding parameter.

     [ https://issues.apache.org/jira/browse/TAPESTRY-1641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Steen resolved TAPESTRY-1641.
---------------------------------

    Resolution: Duplicate

TAPESTRY-2058

> TextStreamResponse could do with a text encoding parameter.
> -----------------------------------------------------------
>
>                 Key: TAPESTRY-1641
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1641
>             Project: Tapestry
>          Issue Type: Improvement
>    Affects Versions: 5.0.5
>            Reporter: Nick Westgate
>            Priority: Minor
>
> Presumably when AJAX arrives the default will be UTF-8 or a Tapestry setting etc.
> But individual event handler responses will still need to be able to set their own encoding.
> An additional constructor seems called for:
>     public TextStreamResponse(
>         final String contentType,
>         final String text,
>         final String encoding)
>     {
>         this(contentType, text);
>         _encoding = encoding;
>     }
> Cheers,
> Nick.

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