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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to