<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">
<div class="moz-cite-prefix"><b>2D is not a soft hyphen</b>, it is
a hyphen!<br>
If you have used it as a soft hyphen for hyphenation, then you
should first replace them with a <b>true soft hyphen: AD
(U+00AD)</b><br>
</div>
<div class="moz-cite-prefix">
<ul>
<li>Here is a soft hyphen between xx and zz : xxzz</li>
<li>and this is a normal hyphen xx-yy</li>
</ul>
</div>
<div class="moz-cite-prefix"><br>
</div>
Le 22.02.21 à 21:02, Gregory Pittman a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:e0d0762d-7c84-ea6d-393a-05ac13bd065c@iglou.com">
<pre class="moz-quote-pre" wrap="">On 2/22/21 2:49 PM, Matt Miller wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">I'm loading my book into a text frame chain from a text file. I want to control which words can be hyphenated, so I have the soft hyphen character, hex 2D, in particular words throughout my text file as I wish. I right-click on the frame and use the "Get Text..." dialog to load the frame, but the soft hyphen character is displayed in the frame as a black diamond with a question mark in it, and the character is not treated as a soft hyphen. If I delete that character in Scribus and use "Insert | Character | Soft Hyphen" or Ctrl+Shift+-, then everything works as expected.
I've verified that my text file encoding is UTF-8, and that "UTF-8" is selected in the "Get Text..." dialog. I've tried my text file with or without a BOM, and still the results are the same. I'm on Windows, and If I change both my text file encoding and the "Get Text..." encoding option to Windows-1252 then the soft hyphen comes across properly, but then other characters from my file, for example the pilcrow, are goofed up. My text file has some pretty obscure Unicode characters, so I think I need to stick with UTF-8.
Should I look at tags and text filters or some scripting as a workaround, or is there some easier way to do this? Shouldn't a soft hyphen character in a text file be treated the same as one inserted from the Scribus insert menu?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Hi Matt,
It's probably something about the encoding.
The quickest fix might come from using Search/Replace. You can copy/paste the unwanted character into the search box.
Greg
___
Scribus Mailing List: <a class="moz-txt-link-abbreviated" href="mailto:scribus@lists.scribus.net">scribus@lists.scribus.net</a>
Edit your options or unsubscribe:
<a class="moz-txt-link-freetext" href="http://lists.scribus.net/mailman/listinfo/scribus">http://lists.scribus.net/mailman/listinfo/scribus</a>
See also:
<a class="moz-txt-link-freetext" href="http://wiki.scribus.net">http://wiki.scribus.net</a>
<a class="moz-txt-link-freetext" href="http://forums.scribus.net">http://forums.scribus.net</a>
</pre>
</blockquote>
<p><br>
</p>
<div class="moz-signature">-- <br>
Silvain Dupertuis<br>
Route de Lausanne 335<br>
1293 Bellevue (Switzerland)<br>
tél. +41-(0)22-774.20.67<br>
portable +41-(0)79-604.87.52<br>
web: <a href="http://perso.silvain-dupertuis.org">silvain-dupertuis.org</a></div>
</body>
</html>