encoding heuristic should be applied to first non-ASCII byte sequence
rather than to any byte sequence in the same chunk as the first non-ASCII byte
Remove `bugtracker` to let default stand.

Thanks to Slaven Rezic for the report (RT#79238).
add tests for encoding heuristic corner cases
These tests use undeclared CP1252 since a plausible Latin-1 POD source
that can be detected as UTF-8 is much harder to contrive.  This also
documents our expectation that 'smart quote' symbols in CP1252 will be
rendered as control character if no =encoding was declared.
Merge pull request #40 from grantm/encoding-heuristic

Encoding heuristic should be applied to first non-ASCII byte sequence.
Add encoding fix note to ChangeLog.
Don't end XHTML IDs with punctuation

An ID ending with a punctuation character means that a URL with a fragment
ID linking to that section ends with a punctuation character. Such URLs
are awkward to extract from plain text, for example when used in a plain
text e-mail and being converted to a link by a mailing list archive or
e-mail client: a punctuation character at the end of a URL may be
interpreted as punctuation in the e-mail message following the URL.

Avoid the problem by ensuring that IDs never end with punctuation
characters. (Underscore is allowed, since it isn't used for punctuation in
human text.)
Merge pull request #41 from Smylers/no_trailing_punc_id

Don't end XHTML IDs with punctuation
Note de-punctuationifcation of XHTML IDs change.
Fix Github URLs to https://
Merge pull request #42 from dolmen/fix/github-https

Fix Github URLs to https://
Fix test failure on Perl 5.6.2.

Ref: http://www.cpantesters.org/cpan/report/942b5f16-19aa-11e2-a3a3-a23c6ca0b17d
Install into "perl" dirs only between 5.9.3 and 5.11.0.
fix Pod::Simple hash order dependency in tests
Merge pull request #43 from rjbs/master

fix hash order dependency
Credit @demerphq.
Eliminate warnings.
Add warning for invalid "=item [text]"
suppress errors in item tests

These tests now trigger the mixed-type =item warning, new in the
preceding commit.  Rather than test for the exact error here, I have
suppressed error generation from these three specific tests only.

I think a good strategy for fixing these tests further will be to
write a JSON emitter to replace the XML one.  This will be much
easier to use in tests, as we can use JSON::PP to parse the output
into a structure.  It will make tests like this easier to update
to match errors, rather than to tweak the output to suppress them.
Demonstrate a regression when C<> is used in a =headN block
Inline parse_characters and _try_encoding_guess

This is called for every line we parse, so each µs counts.