TEXT   18

charconvert

Guest on 14th August 2022 12:49:47 AM

  1. # DISCUS 3.10 Character Conversion Table
  2. #
  3. # This will convert characters into their HTML equivalents in version 3.10.b4 and
  4. # above.  Feel free to add in any conversions you desire, one per line.
  5. #
  6. # The format is:
  7. #   character [space(s)] equivalent
  8. #
  9. # For example:
  10. #   �  ä
  11. # This would convert � into ä for HTML display purposes.
  12. #
  13. # Conversions are processed in the order given.  Therefore it is suggested that you
  14. # convert & into & FIRST to avoid double-conversion of that character.  These
  15. # conversions are generally required for the Discus program and should not be changed.
  16. #
  17. # If you put "<|" (without the quotes) at the END of the line, then Discus will interpret
  18. # certain variables ($html_url, $ext, $script_url, $cgi_extension, $message_url, $title,
  19. # $titlej, $topic, $page).
  20. #
  21. # We recommend that you NOT change any of these definitions unless you really know what
  22. # you are doing.
  23.  
  24. &       &amp;
  25. <       &#60;
  26. >       &#62;
  27. "       &#34;
  28. \\      &#92;
  29. \{      &#123;
  30. \}      &#125;
  31. \,      &#44;
  32.  
  33. # These are conversions for "smile faces" and other emoticons that are found in your
  34. # "clipart" directory.  Note that since ( and ) are used, these must come BEFORE your
  35. # conversions of those characters.  This is why these are defined at this point.  You
  36. # may add whatever other ones you want here.
  37.  
  38. :)  <IMG SRC="$html_url/clipart/happy.gif" ALT=":-)" BORDER=0> <|
  39. :(  <IMG SRC="$html_url/clipart/sad.gif" ALT=":-(" BORDER=0> <|
  40. :O  <IMG SRC="$html_url/clipart/proud.gif" ALT=":-O" BORDER=0> <|
  41. :)  <IMG SRC="$html_url/clipart/happy.gif" ALT=":)"> <|
  42. :(  <IMG SRC="$html_url/clipart/sad.gif" ALT=":("> <|
  43. :O  <IMG SRC="$html_url/clipart/proud.gif" ALT=":O"> <|
  44.  
  45. # These are additional definitions you should not change.
  46.  
  47. (       &#40;
  48. )       &#41;
  49. *       &#42;
  50. +       &#43;
  51. '       &#39;
  52.  
  53. # For double-byte languages you may choose to turn these conversions off.
  54.  
  55. #[      &#91;
  56. #]      &#93;
  57. #|      &#124;
  58.  
  59. # The following conversions are designed for non-English languages where these
  60. # characters are used.  Some languages will need to add additional characters
  61. # and/or remove some of these definitions.
  62.  
  63. #�    &auml;     gt;
  64. #�    mp;Agrave;
  65. #�    mp;Aacute;
  66. #�    mp;Acirc;
  67. #�    mp;Atilde;
  68. #�    mp;Auml;
  69. #�    mp;Aring;
  70. #�    mp;AElig;
  71. #�    mp;Ccedil;
  72. #�    mp;Egrave;
  73. #�    mp;Eacute;
  74. #�    mp;Ecirc;
  75. #�    mp;Euml;
  76. #�    mp;Igrave;
  77. #�    mp;Iacute;
  78. #�    mp;Icirc;
  79. #�    mp;Iuml;
  80. #�    mp;ETH;
  81. #�    mp;Ntilde;
  82. #�    mp;Ograve;
  83. #�    mp;Oacute;
  84. #�    mp;Ocirc;
  85. #�    mp;Otilde;
  86. #�    mp;Ouml;
  87. #�    mp;times;
  88. #�    mp;Oslash;
  89. #�    mp;Ugrave;
  90. #�    mp;Uacute;
  91. #�    mp;Ucirc;
  92. #�    mp;Uuml;
  93. #�    mp;Yacute;
  94. #�    mp;THORN;
  95. #�    mp;szlig;
  96. #�    mp;agrave;
  97. #�    mp;aacute;
  98. #�    mp;acirc;
  99. #�    mp;atilde;
  100. #�    mp;auml;
  101. #�    mp;aring;
  102. #�    mp;aelig;
  103. #�    mp;ccedil;
  104. #�    mp;egrave;
  105. #�    mp;eacute;
  106. #�    mp;ecirc;
  107. #�    mp;euml;
  108. #�    mp;igrave;
  109. #�    mp;iacute;
  110. #�    mp;icirc;
  111. #�    mp;iuml;
  112. #�    mp;eth;
  113. #�    mp;ntilde;
  114. #�    mp;ograve;
  115. #�    mp;oacute;
  116. #�    mp;ocirc;
  117. #�    mp;otilde;
  118. #�    mp;ouml;
  119. #�    mp;divide;
  120. #�    mp;oslash;
  121. #�    mp;ugrave;
  122. #�    mp;uacute;
  123. #�    mp;ucirc;
  124. �     mp;uuml;
  125. #�    mp;yacute;
  126. #�    mp;thorn;
  127. #�    mp;yuml;
  128. #�    mp;iexcl;
  129. #�    mp;cent;
  130. #�    mp;pound;
  131. #�    mp;curren;
  132. #�    mp;yen;
  133. #�    mp;brvbar;
  134. #�    mp;sect;
  135. #�    mp;uml;
  136. #�    mp;copy;
  137. #�    mp;ordf;
  138. #�    mp;laquo;
  139. #�    mp;not;
  140. #�    mp;shy;
  141. #�    mp;reg;
  142. #�    mp;macr;
  143. #�    mp;deg;
  144. #�    mp;plusmn;
  145. #�    mp;sup2;
  146. #�    mp;sup3;
  147. #�    mp;acute;
  148. #�    mp;micro;
  149. #�    mp;para;
  150. #�    mp;middot;
  151. #�    mp;cedil;
  152. #�    mp;sup1;
  153. #�    mp;ordm;
  154. #�    mp;raquo;
  155. #�    mp;frac14;

Raw Paste


Login or Register to edit or fork this paste. It's free.