]> Sergey Matveev's repositories - public-inbox.git/commit
viewvcs: cleanup utf8 handling
authorEric Wong <e@80x24.org>
Fri, 1 Feb 2019 22:12:52 +0000 (22:12 +0000)
committerEric Wong <e@80x24.org>
Tue, 5 Feb 2019 04:35:29 +0000 (04:35 +0000)
commit738f4daed7f0555f7ac11dc2f527bc53dddd4e5b
tree13eae96b43d8f07c7bf1b94ae795384fb6fd7a6c
parent390441cbff937a6048c257df9c91474d63a629bc
viewvcs: cleanup utf8 handling

Favor in-place utf8::decode since it's a bit faster without
method dispatch overhead; and don't care about validity just
yet.

HlMod->do_hl itself should return "utf8" strings, since other
parts of our code can use it, so it's not the job of ViewVCS to
post-process HlMod output.
lib/PublicInbox/HlMod.pm
lib/PublicInbox/ViewVCS.pm
t/hl_mod.t