<div dir="ltr">Hi,<div><br></div><div>I couldn't reproduce this. Could you send a minimal example?</div><div><br></div><div>Cheers</div><div>Martin</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, May 27, 2026 at 2:06 PM Torsten Schnitter <<a href="mailto:torsten.schnitter@netcologne.de">torsten.schnitter@netcologne.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hello</p>
<p>I have a thconfig file where I use the statement "language de"/"language en" to switch language for the output.<br>Within the config file I use some translations like this:<br>...<br>   text de "point passage-height:unsigned" "Ganghöhe"<br>...<br>   text en "point passage-height:unsigned" "passage height"<br><br></p>
<p>Every time I try to compile with "language de" I get an error:</p>
<p>#################### end of metapost log file ####################<br>converting scraps ... done<br>C:\Program Files\Therion\therion.exe: error -- Invalid utf-8 string!<br>writing xtherion file ... done</p>
<p><br></p>
<p>As soon as I switch back to "language en" it does work.<br>Therefore I'm pretty sure it is due to the special characters like 'ö'.</p>
<p>I opened the thconfig file with an external editor (Visual Studio Code), removed the first line "encoding utf-8" and saved the file with encoding "ISO 8859-1".</p>
<p>As soon as I open the thconfig file with XTherion and start compile the format is resetted to utf-8 and within the thconfig file the first line is replaced to "encoding utf-8" (checke this again with Visual Studio Code". And the error above is the result.<br>Only opening the config file and closing again without any changes does change the encoding line in the config file to utf-8.</p>
<p>I'm using Therion 6.4.0 and can't remeber when this behaviour/problem raised.<br>I'm pretty sure some time ago this did work without error.</p>
<p>Any help is appreciated. Thanks in advance!<br>regards, Torsten</p>

</div>
_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>