Beat: 2 Leerzeichen

Beitrag lesen

Moin,
das   ist bekannter Maßen nicht als Leerzeichen sondern als "kein Zeilenumbruch" gedacht. Meine Frage: wie erstelle ich in einem Text  zwei  Leerzeichen hintereinander?

Hier ist ein Testfile. Es ist nicht schöb formatiert, reicht aber um das Verhalten verschiedener Unicode Whitespace zeichen zu erfassen.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">  
<html>  
<head>  
<title>Untitled</title>  
<style type="text/css">  
<!--  
p{width:auto;}  
-->  
</style>  
  
</head>  
  
<body>  
<p>hexcode A code B Umbruch ? Aspace code space B Acode space B</p>  
<p>2000 A&#x2000;B Ja	A &#x2000; B A&#x2000; B  - nspace</p>  
<p>2001 A&#x2001;B Nein A &#x2001; B A&#x2001; B  - mspace </p>  
<p>2002 A&#x2002;B Ja 	A &#x2002; B A&#x2002; B  -nspace </p>  
<p>2003 A&#x2003;B Nein A &#x2003; B A&#x2003; B - mspace</p>  
<p>2004 A&#x2004;B ja 	A &#x2004; B A&#x2004; B - 3 pro mspace</p>  
<p>2005 A&#x2005;B Ja 	A &#x2005; B A&#x2005; B - 4 pro mspace</p>  
<p>2006 A&#x2006;B Ja 	A &#x2006; B A&#x2006; B - 6 pro mspace</p>  
<p>2007 A&#x2007;B Nein A &#x2007; B A&#x2007; B - no break space</p>  
<p>2008 A&#x2008;B Ja 	A &#x2008; B A&#x2008; B - punktspace</p>  
<p>2009 A&#x2009;B Ja 	A &#x2009; B A&#x2009; B - kl space</p>  
<p>200a A&#x200a;B Ja 	A &#x200a; B A&#x200a; B - winziger space</p>  
<p>200b A&#x200b;B Ja 	A &#x200b; B A&#x200b; B - nullbreiter space</p>  
<p>200c A&#x200c;B Nein A &#x200c; B A&#x200c; B - nullbreiter non joining space</p>  
<p>200d A&#x200d;B Nein A &#x200d; B A&#x200d; B - nullbreiter space</p>  
  
</body>  
</html>  

mfg Beat

--
><o(((°>           ><o(((°>
   <°)))o><                     ><o(((°>o
Der Valigator leibt diese Fische