This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7592 - Tidy output fails with "wide characters"
Summary: Tidy output fails with "wide characters"
Status: RESOLVED FIXED
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.8.5
Hardware: PC Linux
: P2 normal
Target Milestone: 0.8.6
Assignee: Ville Skyttä
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-12 13:52 UTC by Ville Skyttä
Modified: 2010-03-02 18:48 UTC (History)
0 users

See Also:


Attachments

Description Ville Skyttä 2009-09-12 13:52:35 UTC
When tidy outputs "wide characters", Encode::decode('utf-8', ...) on it fails with:

    Cannot decode string with wide characters at [...]/Encode.pm line [...]

...which causes the tidy output to be missing.

Perhaps replacing Encode::decode with utf8::upgrade would be the right thing to do, at least it appears to work locally for me.
Comment 1 Ville Skyttä 2009-09-12 15:11:57 UTC
Hopefully fixed in http://www.w3.org/mid/E1MmTus-0002PT-U6%40lionel-hutz.w3.org, see commit log message for details.