I saw in an article (here on page 43, note 2, in french) an intersting way to hyphenate words. I thought it would be intersting, as an exercise, to try and reproduce it using XeTeX. It looks like this:
... words words long<
>word words...
Instead of
... words words long-
word words...
Where < and > are in fact characters U+2039 and U+203A.
Using fontspec I changed HyphenChar to < with \addfontfeature. However, I would like to know, how do I add an other character at the beginning of the next line?
Changing HyphenChar created a problem, that I cannot solve. In the text I used is the word “TeXnicien” which is not hyphenated and creates an overfull box. I cannot use \hyphenation because this word contains a command. I thought I could use \-, but while it worked fine when HyphenChar was a dash, it created an “Improper discretionary list” error after I changed it (cutting the word properly but not putting any character at the line break).
Thanks in advance!

\discretionary{^^^^2039}{^^^^203a}{}will do. Automatic hyphenation uses the equivalent of\discretionary{\char\hyphenchar\font}{}{}but this is not changeable by the user in TeX/XeTeX. It may be possible in LuaTeX, of course. – egreg Sep 01 '15 at 17:06\discretionarysolves my second problem. Not with XeLaTeX though, for a reason I can't work out yet it doesn't compile. But with LuaLaTeX it works brilliantly. – Guerric Chupin Sep 01 '15 at 19:38\documentclass{article} \usepackage{fontspec} \begin{document} \parbox{0pt}{xyz\discretionary{^^^^2039}{^^^^203a}{}abc} \end{document}run with XeLaTeX produces this output – egreg Sep 01 '15 at 19:42\documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{french} \begin{document} \parbox{0pt}{xyz\discretionary{^^^^2039}{^^^^203a}{}abc} \end{document}and I have got the same error that the one on my “bigger” document. It says where it encounters\discretionary! Argument of \xpg@nospace has an extra }– Guerric Chupin Sep 01 '15 at 19:50\newcommand{\mydisc}{ \begingroup\XeTeXinterchartokenstate=0 \discretionary{^^^^2039}{^^^^203a}{}\endgroup}and use\mydiscin the document. – egreg Sep 01 '15 at 19:54