Skip to content
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

Bug: Mokuro html files breaking due to unicode weirdness #37

Open
justremember opened this issue Dec 22, 2022 · 4 comments
Open

Bug: Mokuro html files breaking due to unicode weirdness #37

justremember opened this issue Dec 22, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@justremember
Copy link
Contributor

How to reproduce

  1. Create a folder in google drive manga/. upload this Test folder.
    Test.zip
  2. Directory structure should look like this: manga > Test > [あずまきよひこ] よつばと! 第01巻 > some images.
  3. Run https://colab.research.google.com/github/kha-white/mokuro/blob/master/notebooks/mokuro_demo.ipynb, changing the last line of code to !mokuro --parent_dir "/content/drive/MyDrive/manga/Test"
  4. Download the entire Test folder.
  5. Open the mokuro generated html. Verify the manga images not loading.
    image

Something weird is going on with Unicode parsing, particularly with the ず and ば characters. Both characters get transformed into another identical-looking but different character in the HTML file.

@justremember
Copy link
Contributor Author

Here's the HTML file it generated on my end
[あずまきよひこ] よつばと! 第01巻.txt

(converted to .txt because github doesn't like uploading html files here)

@kha-white kha-white added the bug Something isn't working label May 7, 2023
@noxxid3
Copy link

noxxid3 commented May 21, 2023

i noticed this too on my tablet, but its in my tablet storage, some images may be there some not. I noticed with yotsuba that changing to single page format only worked on that one. Not sure why but thats what happened. All my other manga is just broken like this :/

@RemReZero123
Copy link

RemReZero123 commented Mar 9, 2024

I have this issue...I hope its fixed. All my manga is broken like this after a while lol

@DumbBoy2
Copy link

Did you put the images in the same folder of the html file? I had the same issue and this fixed it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants