dragonscave.space is one of the many independent Mastodon servers you can use to participate in the fediverse.
A fun, happy little Mastodon/Glitch instance.

Server stats:

242
active users

Draic inna n-airscél n-amrae
Quiet public

Ugh. Why can't I convert UTF-8 strings to ISO-8859-5 strings in D?

Zatty :meowybara:
Quiet public

@storydragon my adhd made me scroll through the merecat source code, and it doesn't look like it touches encoding at all. Do you have any method of checking the raw bytes written? E.g. using hexdump on the file, if it's written to a file, or outputting / logging the string as a byte array (or similar?)

(Or am I going too far into the hardcore coding end here? I don't know your context)

Zatty :meowybara:
Quiet public

@storydragon if one was ambitious one might be able to add Latin/Cyrillic (ISO 8859-5) by editing Phobos/std/encoding.d and working from a duplicate of the code implementing Latin2 (ISO 5598-2). But it might be easier to handroll a function that converts Unicode to a 8859-5 encoded bytestring...

Sorry, my brain is going on tangents. I hope you find a solution to your problem.