Closed ColinCazuarius closed 1 year ago
There is no way that I can think of that PageEdit could affect how Sigil's Code View renders markup. Especially if you're using newly created content/epubs untouched by PageEdit.
It looks like you're using Windows, but what version? And what versions of Sigil PageEdit?
I truly doubt adding PageEdit was the source of the issue and that it was just coincidental with some other change.
Just throwing out ideas here:
Could this be Linux. Some Linux distributions ship a Qt6 version of PageEdit and a Qt5 version of Sigil, not sure why? Perhaps a conflict of some sort? Quite strange. I test with multiple Qt 5 and Qt 6 versions of Sigil and PageEdit with no problems on macOS and Manjaro Linux.
Or perhaps something changed the user's locale setting and makes Sigil think that file encoding is not utf-8 and instead some 8-bit encoding of some sort?
Or maybe an added font? Try changing the Sigil Preferences setting for CodeView font to some other fixed character size font.
Or the epub being loaded is not properly utf-8 encoded and Sigil guesses wrong when trying to decipher the encoding actually used? You could test by loading known good epubs from Mobileread's site or some other known good epub and see if the problem persists.
Are there any strange environment variables set?
Were both downloaded from our exact Releases website? Or did you get them from somewhere else?
Ah, yeah, sorry forgot to mention my OS, I'm using Linux Mint 20
I haven't changed anything on my system. I was working with some Thai text recently, but just copy and pasting.
I got PageEdit from Github, but installed Sigil from the repository
This happens with both the repo version and the flathub
The Sigil version in the Mint 20 repos would be quite old (we don't really have any input in how the Flatpak version is constructed). I've run the Arch repo version of PageEdit (Qt6) with my own custom built version of Sigil (Qt5) for quite some time with no issues. I've never seen anything quite like a Code View with no angle brackets around the tags. What font are you using for Code View (which must be a mono space font, by the way) in Sigil's preferences?
Sorry. Autocorrect destroyed my attempt to type "Flatpak". That was also supposed to be Sigil Preferences, not Civilization.
And what do you mean you got the PageEdit version from github? We have no linux release binaries on our github site. Do you mean you built the latest PageEdit from source for Linux Mint 20? What exact version of both are you using?
My guess is when you were "working with some Thai text recently" you either added a font that supports Thai or changed your locale setting.
"The Sigil version in the Mint 20 repos would be quite old" I tried getting the one on github, but i cant find any instructions to unpack it.
"What font are you using for Code View" Which ever one is default.
"And what do you mean you got the PageEdit version from github? We have no linux release binaries on our github site." Yes you do https://github.com/Sigil-Ebook/PageEdit/releases I unpacked the tar.gz as per instructions.
"you either added a font that supports Thai or changed your locale setting." Hmm, I added a font. Odd how that could be the unerlying cause, but ill try removing it. My locale is, and always had been, set to Australia.
"What exact version of both are you using?" Sigil 1.1.0 PageEdit 1.9.2
The tar.gz archive is not a binary release. It is the source code for that release. It cannot be "installed," it must be compiled. Saying you "installed" the github version was a bit confusing.
Same with Sigil. There are no binary installers provided for Linux in any of our Github releases for Sigil or PageEdit. Only source-code.
Okay, I did the thing because I wanted to use Sigil to make ebooks. The thing was on GitHub, and I did it.
Anyway, I removed the Thai font via my font manager and it seems to be back to normal now.
Huh? What thing on Github did you do?
So the issue was the font you installed and not related to installing PageEdit at all.
Closing this since not a bug.
Not sure why this is happening, but after installing PageEdit, Sigil displays punctuation and numbers as Thai characters. New xhtml file - Thai characters If I export a LibreOffice document as epub, then open in Sigil - Thai characters Copy and paste into Sigil - Thai characters