[decouverte] Programme pour ajouter les codes de césure aux documents XHTML en UTF-8
Bonjour,
Je vous fais part de l'existence d'un petit outil pratique libre et
inédit pour intégrer les codes de césure UTF-8 aux documents XHTML.
xhtml_hyphenate est un programme de césure pour les documents XHTML.
À découvrir ici en anglais :
<http://swolter.sdf1.org/software/article-xhtml_hyphenate.html>
xhtml_hyphenate: An hyphenation program for XHTML documents
As an exÂamÂple for reÂal-world usÂage of libÂhyÂphenÂate, I proudÂly
present you the XHTML hyÂphenÂator. By scruÂtiÂnizÂing the xml:lang tag
present in XML docÂuÂments, it hyÂphenÂates all non-headÂer text nodes
of an XHTML docÂuÂment with stanÂdard UTF-8 soft hyÂphens, which are
used by all stanÂdard browsers exÂcept MozilÂla FireÂfox as
hyÂphenÂation hints. FireÂfox igÂnores them comÂpleteÂly, so no harm is
done.
--
Léa Gris
|