On Mon, Feb 22, 2021, at 13:02, Gregory Pittman wrote:
> On 2/22/21 2:49 PM, Matt Miller wrote:
> > 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?
> > 
> 
> Hi Matt,
> 
> It's probably something about the encoding.

Yeah, I found that UTF-32LE encoding worked fine.  Interesting.

> The quickest fix might come from using Search/Replace. You can 
> copy/paste the unwanted character into the search box.

That also works.  Thanks.

> 
> Greg
> 
> ___
> 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
>

-- 

  Matt Miller
  mailto:[email protected]

___
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