This is a follow up of Mico's question on how to specify an author's title with giveninits=true. There two answers have been found which work for titles which do not include a hyphen.
Now, let us consider the title "Dr.-Ing.". With both answers I get an additional dot in front of the hyphen:
\RequirePackage{filecontents}
\begin{filecontents*}{mybib.bib}
@unpublished{tet-skript-moewe,
author = {family={Schuhmann}, given={Prof. Dr.-Ing. Rolf}, given-i={Prof. Dr.-Ing. R}},
title = {Skriptum zu den {V}orlesungen
{T}heoretische {E}lektrotechnik {I} und {II}},
date = {2013-12-17},
note = {moewe's answer}
}
@unpublished{tet-skript-mico,
author = {{{\relax Prof. Dr.-Ing. R}olf} Schuhmann},
title = {Skriptum zu den {V}orlesungen
{T}heoretische {E}lektrotechnik {I} und {II}},
date = {2013-12-17},
note = {Mico's answer}
}
\end{filecontents*}
\documentclass{article}
\usepackage[backend=biber, giveninits=true]{biblatex}
\addbibresource{mybib.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
I am aware of one work around which I will post as an answer. However, I do not like it because it involves defining custom commands and thus creating a dependency of the bib file on the tex file.
Does someone know a better solution?



biber(a) modifies the interior of thegiven-ifield in the first entry and (b) essentially ignores the\relaxinstruction in the second entry. – Mico Jul 11 '17 at 00:12given-i. Names such as 'Hans-Georg' would beH-Gand Biber would then insert\bibinithyphendelimalso before the-. – moewe Jul 11 '17 at 04:57given-i = {H.-D.}instead in the field? – gusbrs Jul 11 '17 at 10:07gievn-iexactly without interference you can submit a feature request for Biber (https://github.com/plk/biber/issues). – moewe Jul 11 '17 at 12:37