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?

Thanks.


--

  Matt Miller
  mailto:[email protected]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.scribus.net/pipermail/scribus/attachments/20210222/76599638/attachment.htm>
___
Scribus Mailing List: [email protected]
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net

Reply via email to