-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Character encoding issues in manual #489
Comments
Thanks @pviotti! Curiously enough, it all seems ok on readthedocs: https://edumips64.readthedocs.io/en/latest/ |
BTW 1.2.8 does not look broken to me on Ubuntu 20.04 |
Arch :) but there's nothing special about its package, AFAIK. I tried to reinstall previous versions and, as you wrote, 1.2.7 has the same issue, 1.2.6 doesn't. From a quick look at the history the issue might have been introduced by one of these commits: Javahelp is not maintained anymore, so if this proves difficult to fix it'd be an opportunity to get rid of it (maybe just embedding HTML into the jar and launching a browser would do - though I'm not sure how exactly..). |
That's a good point, we aren't really using many JavaHelp features. Maybe we could try a JavaFX WebView: https://stackoverflow.com/questions/13487786/add-webview-control-on-swing-jframe |
Just for the record, I tried an old version of Sphinx (2.3.1) but that was not the issue. I thought a bit about it, and the alternatives to JavaHelp are not great:
I currently lean towards
@pviotti what do you think?: |
you mean poking around JavaHelp code and try to see if there's an easy way to fix encoding issues? That can be done, and maybe it would be useful to other projects too, though it can take a long time (if it's possible at all). If you really want to avoid depending on browsers, I suspect it would be easier to embed the documentation in some other format, like PDF. |
I meant try to understand where we introduced the regression: 1.2.6 works well and 1.2.7 doesn't -- I'd like to pinpoint what commit introduced the encoding issues and see if that's fixable. But the PDF idea is also very good, I'll have a look around to see if there are any Swing PDF viewers. A very quick search yielded this library, which I'll now try out: https://mvnrepository.com/artifact/org.icepdf.os/icepdf-core/6.1.2 |
I tried to use The website doesn't mention Maven and the download of the open source JAR is behind a login form: http://www.icesoft.org/java/home.jsf I found a fork which seems maintained but it's not yet published to a Maven repo. I asked them if they will publish it here: pdf4j/icepdf#7 |
Well the fork is not really maintained, I got confused with another repo I was looking at. |
Some characters in the manual are badly rendered.
etc.
v1.2.8 on Windows and Linux.
The text was updated successfully, but these errors were encountered: