Two more wrongly encoded cases in LaTeXML.pm#949
Conversation
|
One way of seeing this may be that every use of the |
|
Actually that's not true. I should have caught that in your comments, but |
|
Ah, but I phrased my claim extremely carefully this time. All This is the entire realm I was quantifying over when I said every, I was being quite careful. The internal Anyway, I think we are saying the same thing from 2 perspectives. Maybe renaming all Document methods away from |
|
Oh! I forgot to merge... is this one still needed? |
|
It is still needed, yes. I thought you left it open so that I rework it so that there is a specially named method that always encodes to Unicode, but if you have decided that is a long-term goal, merging here is still a good choice. Fixes a problem. |
|
Ah, not really; a nice safe general approach will be good, but I'm not waiting. |
While investigating #948 I spotted a broken bold 0 encoding when printing to stdout from latexmlc.
Turns out there were two cases that needed new patches
toString) to return differently encoded values -- since exactly one of ourtoStringcalls isn't returning bytes. So I added an explicit check there.Keeps feeling awkward... I still don't care enough to raise a larger stink about refactoring :> If I hit this once again I might.