You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/08/28 09:26:58 UTC
[jira] [Commented] (TAP5-2293) Closure minimizer produces invalid
output on non-UTF-8 systems
[ https://issues.apache.org/jira/browse/TAP5-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113468#comment-14113468 ]
ASF subversion and git services commented on TAP5-2293:
-------------------------------------------------------
Commit 004a1e8e1de13c0831c6fe153d45e526126491f2 in tapestry-5's branch refs/heads/master from [~jkemnade]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=004a1e8 ]
TAP5-2293: send the minified resource as an UTF-8 stream regardless of the platform's default encoding
> Closure minimizer produces invalid output on non-UTF-8 systems
> --------------------------------------------------------------
>
> Key: TAP5-2293
> URL: https://issues.apache.org/jira/browse/TAP5-2293
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-webresources
> Affects Versions: 5.4
> Reporter: Jochen Kemnade
> Assignee: Jochen Kemnade
> Priority: Blocker
> Labels: patch
> Fix For: 5.4
>
> Attachments: 0001-specify-encoding-when-getting-an-InputStream-from-a-.patch
>
>
> When reading the minimization result from the Closure Compiler, the String is turned into an input stream using the platform's default encoding. If that is not UTF-8, the content that is sent to the browser is probably broken.
--
This message was sent by Atlassian JIRA
(v6.2#6252)