Too many characters in character literal
<p>I am adding some script using the StringBuilder. The script is as shown below.</p>

<pre><code>&lt;script type='text/javascript'&gt;&lt;!--    //&lt;![CDATA[
    var m3_u = (location.protocol == 'https:' ? 'https://rre.rrt.com/sss.php' : 'https://rre.rrt.com/sss.php');
    var m3_r = Math.floor(Math.random() * 99965449);
    if (!document.MAX_used) document.MAX_used = ',';
    document.write("&lt;scr" + "ipt type='text/javascript' src='" + m3_u);
    document.write("?zoneid=311120&amp;amp;target=_top");
    document.write('&amp;amp;cb=' + m3_r);
    if (document.MAX_used != ',') document.write("&amp;amp;exclude=" + document.MAX_used);
    document.write(document.charset ? '&amp;amp;charset=' + document.charset : (document.characterSet ? '&amp;amp;charset=' + document.characterSet : ''));
    document.write("&amp;amp;loc=" + escape(window.location));
    if (document.referrer) document.write("&amp;amp;referer=" + escape(document.referrer));
    if (document.context) document.write("&amp;context=" + escape(document.context));
    if (document.mmm_fo) document.write("&amp;amp;mmm_fo=1");
    document.write("'&gt;&lt;\/scr" + "ipt&gt;");
//]]&gt;--&gt;
&lt;/script&gt;&lt;noscript&gt;&lt;a href='https://rre.rrt.com/sss.php?n=ad4565c1&amp;amp;cb=2244' target='_top'&gt;&lt;img src='https://rre.rrt.com/sss.php?zoneid=36540&amp;amp;n=a535c1' border='0' alt='' /&gt;&lt;/a&gt;&lt;/noscript&gt;
</code></pre>

<p>When I add this using String Builder, it gives error "Too many characters in character literal" This is how I am doing. How to do it?</p>

<pre><code>sb.append(@"&lt;script type='text/javascript'&gt;&lt;!--    //&lt;![CDATA[
    var m3_u = (location.protocol == 'https:' ? 'https://rre.rrt.com/sss.php' : 'https://rre.rrt.com/sss.php');
    var m3_r = Math.floor(Math.random() * 99965449);
    if (!document.MAX_used) document.MAX_used = ',';
    document.write("&lt;scr" + "ipt type='text/javascript' src='" + m3_u);
    document.write("?zoneid=311120&amp;amp;target=_top");
    document.write('&amp;amp;cb=' + m3_r);
    if (document.MAX_used != ',') document.write("&amp;amp;exclude=" + document.MAX_used);
    document.write(document.charset ? '&amp;amp;charset=' + document.charset : (document.characterSet ? '&amp;amp;charset=' + document.characterSet : ''));
    document.write("&amp;amp;loc=" + escape(window.location));
    if (document.referrer) document.write("&amp;amp;referer=" + escape(document.referrer));
    if (document.context) document.write("&amp;context=" + escape(document.context));
    if (document.mmm_fo) document.write("&amp;amp;mmm_fo=1");
    document.write("'&gt;&lt;\/scr" + "ipt&gt;");
//]]&gt;--&gt;
&lt;/script&gt;&lt;noscript&gt;&lt;a href='https://rre.rrt.com/sss.php?n=ad4565c1&amp;amp;cb=2244' target='_top'&gt;&lt;img src='https://rre.rrt.com/sss.php?zoneid=36540&amp;amp;n=a535c1' border='0' alt='' /&gt;&lt;/a&gt;&lt;/noscript&gt;

");
</code></pre>
