Hello Genodians
I pushed a new article to my genodian repository (github.com/trimpim/genodian. On the index page no content is displayed. This didn't occur to me while writing, as I always directly looked at the page I edited.
I already tried to figure out, what is wrong, so I could push a fixup. I compared the new article to the old one and the title and the first paragraph are formatted about the same.
Could anyone give me a hint what could be wrong with my article?
Best regards, Pirmin
Hi Primin,
I noticed that your .txt file is UTF-8 encoded, which apparently breaks gosh's title and summary detection. Converting the file to ASCII solves the issue.
Cheers Johannes
On 26/09/2024 17:46, Pirmin Duss via users wrote:
Hello Genodians
I pushed a new article to my genodian repository (github.com/trimpim/genodian. On the index page no content is displayed. This didn't occur to me while writing, as I always directly looked at the page I edited.
I already tried to figure out, what is wrong, so I could push a fixup. I compared the new article to the old one and the title and the first paragraph are formatted about the same.
Could anyone give me a hint what could be wrong with my article?
Best regards, Pirmin _______________________________________________ users mailing list -- users@lists.genode.org To unsubscribe send an email to users-leave@lists.genode.org Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/mes...
Hi Johannes
Thanks for the info. I changed the encoding and tested it locally, now it works. I pusehd the updated version, so on the next fetch it should automatically update.
Cheers Pirmin
Hello,
On Fri, Sep 27, 2024 at 07:55:58 CEST, Johannes Schlatow wrote:
I noticed that your .txt file is UTF-8 encoded, which apparently breaks gosh's title and summary detection. Converting the file to ASCII solves the issue.
From my experience, the UTF-8 support in gosh is quite good. The issue with Pirmins text file stems from the use of a BOM [1] in combination with UTF-8, which is not required as UTF-8 is not affected by byte order and also not recommended by the Unicode standard.
Nevertheless, we may improve gosh to ignore ef bb bf at the beginning of a text file. AFAIK the byte sequence produces garbage in Latin1 and Windows-1252.
[1] https://en.wikipedia.org/wiki/Byte_order_mark
Regards