Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 77843
Status: resolved
Priority: 0/
Queue: devel-nytprof

Owner: Nobody in particular
Requestors: TIMB [...]
Cc: pmorch [...]

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)

CC: "Peter Valdemar Mørch" <pmorch [...]>
Subject: Sorting of html tables broken in non-utf8 encodings
Download (untitled) / with headers
text/plain 595b
[From Peter Valdemar Mørch <>] I couldn't get the tables to sort properly. Until I discovered that if the pages are served with a webserver configured for ISO-8859-1 character set, sorting doesn't work. This is because the page's sorting algorithm treats '\265' as a special char and it gets encoded differently for javascript and HTML. The HTML contains something like "183&micro;s" (using a HTML entity) but the javascript has this line: val = orig.replace(/µs/,''); /* XXX use &micro; ? */ encoded as UTF-8. And so sorting fails if the page isn't encoded as UTF-8.
Fixed. Thanks!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to