Follow

So I have been writing my book in then lately I have switched to for export into . There is a single issue I have: u00f8 doesn't translate properly with Pandoc. It throws an error and displays odd characters insteadof the one I was going for. Anyone have a remedy for me?

I hate to drag you in, but @klaatu you are one of the few people I know that uses Pandoc. You and @brandon

@sean I am unsure. I know my system is set to UTF8 systemwide. Or is there also a Pandoc config too?

@poetgrant At your shell, use the 'env' command and see what those variables are set to.

@sean oh yes, that says UTF8 for sure. I did check that. Nano is set to UTF8 too. I'm not at my computer or I would screenshot it.

@poetgrant I'm not a pandoc expert but I know for some conversions there are font settings. You might ensure the font(s) you are using for output support unicode (and that problem character specifically).

@sean oh! I am using a weird font for my terminal... maybe that's it... thank you! I will look into this. It is the first lead I've had for almost 6 days. 😃😃

@poetgrant @klaatu It's not an existing issue in pandoc's repo issues though I do find the issue appearing in other repos that use pandoc

@brandon @klaatu it complains that there are non UTF8 characters in the document, but the codes I used were strictly UTF8 codes, so I don't really understand. If I replace the characters with chars that don't need a u code, then it builds the EPUB just fine.

@poetgrant
Where did you download pandoc from? If it's from default repos, scratch that and get it straight from pandoc's instructions
@klaatu

@poetgrant
Just sounds like you have an outdated version of pandoc is all
@klaatu

@brandon @klaatu oh maybe so... I didn't think about that. I'll check it when I get home from work.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml