<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\label{sec:fde0020}
The inputenc package replaces some characters -- i.\,e. german umlauts --
by \LaTeX{} code sequences.  This is a good idea for ``normal'' text but not
for JavaScript code.

To avoid the conversion in JavaScript code the characters must not be added
directly to strings, add the corresponding JavaScript-Unicode notation
instead.

Table~\vref{tab:umlauts} contains some example Unicode notations for german
umlauts and ligatures.
\begin{longtable}{|r|l|}\caption{JavaScript-Unicode notation for german umlauts}\label{tab:umlauts}\\
\hline
&amp;\\*[-0.9em]\multicolumn{1}{|c|}{\textbf{umlaut/ligature}}&amp;\multicolumn{1}{c|}{\textbf{JavaScript-Unicode notation}}\\
\hline
\endfirsthead
\hline
&amp;\\*[-0.9em]\multicolumn{2}{|r|}{\textsl{Continuation}}\\
\hline
\endhead
&amp;\\*[-0.9em]\multicolumn{2}{|r|}{\textsl{to be continued}}\\
\hline
\endfoot
\hline
\endlastfoot
\hline
&amp;\\*[-0.9em]ä&amp;\textbackslash{}u00E4\\
\hline
&amp;\\*[-0.9em]ö&amp;\textbackslash{}u00F6\\
\hline
&amp;\\*[-0.9em]ü&amp;\textbackslash{}u00FC\\
\hline
&amp;\\*[-0.9em]A&amp;\textbackslash{}u00C4\\
\hline
&amp;\\*[-0.9em]Ö&amp;\textbackslash{}u00D6\\
\hline
&amp;\\*[-0.9em]Ü&amp;\textbackslash{}u00DC\\
\hline
&amp;\\*[-0.9em]ß&amp;\textbackslash{}u00DF\\
\end{longtable}
\clearpage
Here is an example how to use the Unicode notation
(see variable \textit{theText\/}):
\lstinputlisting{../examples/ex0301.tex}
\clearpage
</pre></body></html>