Ticket #2527973 (checkedin defect)

Reporter


Adam Moore
Opened: 05/15/09
Last modified: 03/17/10
Status: checkedin
Type: defect

Owner


Adam Moore
Target Release: 2.4.3
Priority: P3 (normal)
Summary: Improve charset handling to try to avoid org.mozilla.javascript.EvaluatorException
Description:

A lot of people are having compressor fail with an org.mozilla.javascript.EvaluatorException, and it appears that it is most commonly happening when the charset option is not provided and the file is
encoded in utf-8. If compressor is unable to detect the correct charset, an approach that might work is to catch that exception, retry the operation with utf-8 encoding, and if it fails again,
rethrow the original error with additional advice about providing the correct charset to the compressor.

Type: defect Observed in Version: 2.4.2
Component: YUICompressor Severity: S3 (normal)
Assigned To: Adam Moore Target Release: 2.4.3
Location: Priority: P3 (normal)
Tags: Relates To: #2495400
Browsers: N/A
URL:
Test Information:

Change History

George

YUI Developer

Posted: 09/23/09

George

YUI Developer

Posted: 01/30/10

Adam Moore

YUI Contributor

Posted: 03/17/10
  • milestone changed to 2.4.3
  • status changed from assigned to checkedin

We are now defaulting to UTF-8