Thank you. That helps a lot! I am learning slowly, but I am learning! I usually just come here and click on the "Recent Threads" link at the top. I see there's tons of stuff on this site, but I haven't had the time yet to look at everything. To me, this whole site seems like a giant maze. I'm still figuring things out. It took me about 5 minutes to figure out how to post a note here in the PerlMonks Discussion page. I usually come here to ask questions about perl or to see if I can answer anybody else's questions. I use Perl under Windows, so sometimes I can give my two cents about what is particular about Windows. I also bought an old apple laptop just to run perl scripts to see how my scripts behave in a MacOS environment. Since I have been starting to learn Perl in 2016, I have also written a lot of code. While others might be drinking beer or going to parties or watching sports, I am just here writing Perl scripts for fun. It's relaxing to me. I like to solve puzzles, and computer programming is full of puzzles.
Okay. So the Hermitage page is not some mistake. It's empty on purpose. I just wanted to know that. Since I use a browser that is an offshoot of PaleMoon, sometimes there is content that does not show up on my computer. And I was wondering if there is something there that only I cannot see on my computer or if others can't see it either. It's blank on purpose. Thanks for clearing that up!
Now I am going to do some testing here:
The greater than sign: >
The less than sign: <
The AND sign: & and the brackets: [ and ]
The TAB character doesn't always work. It's
best to avoid using it.
The <NOBR> HTML tag does not work.
The <CANVAS> HTML object does not work.
The <INPUT> HTML object does not work.
The <SELECT> HTML object does not work.
The <TEXTAREA> HTML object does not work.
The <DIV> HTML object does not work.
The <IMG> object does not work.
The <SCRIPT> tag does not work.
CSS HTML styling does not work.
<FONT FACE='' and COLOR='' and SIZE=''> works!
That's neat.
On my phone, one line is 50 characters wide.
So, if I want text to appear perfectly on my
smartphone, then I have to write like this.
Something I should remember is that <CODE>
tags wrap text at 70 characters. And using the
<TT> or <PRE> tags, the minimum line
length is 60 characters.
What works:
|
TESTING H1 heading
TESTING H2 heading
TESTING H3 heading
Italic text
Bold text
Underlined text
Strike through text
An exponent: 28
A list using LI:
- first item
- second item
- third item
This text is indented using <BLOCKQUOTE>
This text is indented using codes.
| This text is indented using a TABLE.
| |
Okay. I wrote a little perl script. Will include it here:
#!/usr/bin/perl -w
use strict;
use warnings;
open(my $FH, ">D:\\DESKTOP\\CharacterList123.txt")
or die "\nCannot create file!\n";
print $FH '<PRE>';
for (my $i = 0; $i < 256; $i++)
{
print $FH sprintf('%0.4X ', $i), "$i = &#$i; ( &#$i; )\n";
}
print $FH "\n\nTesting some Hebrew letters now:\n",
"\nש ל ו ם\n";
print $FH '</PRE>';
close $FH;
print "\nSUCCESS!\n\n";
exit;
I will copy and paste the output of the above
code here to see what happens. I hope
it's not going to blow up this page.
0000 0 = ( � )
0001 1 = (  )
0002 2 = (  )
0003 3 = (  )
0004 4 = (  )
0005 5 = (  )
0006 6 = (  )
0007 7 = (  )
0008 8 = (  )
0009 9 = ( 	 )
000A 10 =
( )
000B 11 = (  )
000C 12 = (  )
000D 13 =
( )
000E 14 = (  )
000F 15 = (  )
0010 16 = (  )
0011 17 = (  )
0012 18 = (  )
0013 19 = (  )
0014 20 = (  )
0015 21 = (  )
0016 22 = (  )
0017 23 = (  )
0018 24 = (  )
0019 25 = (  )
001A 26 = (  )
001B 27 = (  )
001C 28 = (  )
001D 29 = (  )
001E 30 = (  )
001F 31 = (  )
0020 32 = (   )
0021 33 = ! ( ! )
0022 34 = " ( " )
0023 35 = # ( # )
0024 36 = $ ( $ )
0025 37 = % ( % )
0026 38 = & ( & )
0027 39 = ' ( ' )
0028 40 = ( ( ( )
0029 41 = ) ( ) )
002A 42 = * ( * )
002B 43 = + ( + )
002C 44 = , ( , )
002D 45 = - ( - )
002E 46 = . ( . )
002F 47 = / ( / )
0030 48 = 0 ( 0 )
0031 49 = 1 ( 1 )
0032 50 = 2 ( 2 )
0033 51 = 3 ( 3 )
0034 52 = 4 ( 4 )
0035 53 = 5 ( 5 )
0036 54 = 6 ( 6 )
0037 55 = 7 ( 7 )
0038 56 = 8 ( 8 )
0039 57 = 9 ( 9 )
003A 58 = : ( : )
003B 59 = ; ( ; )
003C 60 = < ( < )
003D 61 = = ( = )
003E 62 = > ( > )
003F 63 = ? ( ? )
0040 64 = @ ( @ )
0041 65 = A ( A )
0042 66 = B ( B )
0043 67 = C ( C )
0044 68 = D ( D )
0045 69 = E ( E )
0046 70 = F ( F )
0047 71 = G ( G )
0048 72 = H ( H )
0049 73 = I ( I )
004A 74 = J ( J )
004B 75 = K ( K )
004C 76 = L ( L )
004D 77 = M ( M )
004E 78 = N ( N )
004F 79 = O ( O )
0050 80 = P ( P )
0051 81 = Q ( Q )
0052 82 = R ( R )
0053 83 = S ( S )
0054 84 = T ( T )
0055 85 = U ( U )
0056 86 = V ( V )
0057 87 = W ( W )
0058 88 = X ( X )
0059 89 = Y ( Y )
005A 90 = Z ( Z )
005B 91 = [ ( [ )
005C 92 = \ ( \ )
005D 93 = ] ( ] )
005E 94 = ^ ( ^ )
005F 95 = _ ( _ )
0060 96 = ` ( ` )
0061 97 = a ( a )
0062 98 = b ( b )
0063 99 = c ( c )
0064 100 = d ( d )
0065 101 = e ( e )
0066 102 = f ( f )
0067 103 = g ( g )
0068 104 = h ( h )
0069 105 = i ( i )
006A 106 = j ( j )
006B 107 = k ( k )
006C 108 = l ( l )
006D 109 = m ( m )
006E 110 = n ( n )
006F 111 = o ( o )
0070 112 = p ( p )
0071 113 = q ( q )
0072 114 = r ( r )
0073 115 = s ( s )
0074 116 = t ( t )
0075 117 = u ( u )
0076 118 = v ( v )
0077 119 = w ( w )
0078 120 = x ( x )
0079 121 = y ( y )
007A 122 = z ( z )
007B 123 = { ( { )
007C 124 = | ( | )
007D 125 = } ( } )
007E 126 = ~ ( ~ )
007F 127 = (  )
0080 128 = ( € )
0081 129 = (  )
0082 130 = ( ‚ )
0083 131 = ( ƒ )
0084 132 = ( „ )
0085 133 =
( … )
0086 134 = ( † )
0087 135 = ( ‡ )
0088 136 = ( ˆ )
0089 137 = ( ‰ )
008A 138 = ( Š )
008B 139 = ( ‹ )
008C 140 = ( Œ )
008D 141 = (  )
008E 142 = ( Ž )
008F 143 = (  )
0090 144 = (  )
0091 145 = ( ‘ )
0092 146 = ( ’ )
0093 147 = ( “ )
0094 148 = ( ” )
0095 149 = ( • )
0096 150 = ( – )
0097 151 = ( — )
0098 152 = ( ˜ )
0099 153 = ( ™ )
009A 154 = ( š )
009B 155 = ( › )
009C 156 = ( œ )
009D 157 = (  )
009E 158 = ( ž )
009F 159 = ( Ÿ )
00A0 160 = (   )
00A1 161 = ¡ ( ¡ )
00A2 162 = ¢ ( ¢ )
00A3 163 = £ ( £ )
00A4 164 = ¤ ( ¤ )
00A5 165 = ¥ ( ¥ )
00A6 166 = ¦ ( ¦ )
00A7 167 = § ( § )
00A8 168 = ¨ ( ¨ )
00A9 169 = © ( © )
00AA 170 = ª ( ª )
00AB 171 = « ( « )
00AC 172 = ¬ ( ¬ )
00AD 173 = ( ­ )
00AE 174 = ® ( ® )
00AF 175 = ¯ ( ¯ )
00B0 176 = ° ( ° )
00B1 177 = ± ( ± )
00B2 178 = ² ( ² )
00B3 179 = ³ ( ³ )
00B4 180 = ´ ( ´ )
00B5 181 = µ ( µ )
00B6 182 = ¶ ( ¶ )
00B7 183 = · ( · )
00B8 184 = ¸ ( ¸ )
00B9 185 = ¹ ( ¹ )
00BA 186 = º ( º )
00BB 187 = » ( » )
00BC 188 = ¼ ( ¼ )
00BD 189 = ½ ( ½ )
00BE 190 = ¾ ( ¾ )
00BF 191 = ¿ ( ¿ )
00C0 192 = À ( À )
00C1 193 = Á ( Á )
00C2 194 = Â ( Â )
00C3 195 = Ã ( Ã )
00C4 196 = Ä ( Ä )
00C5 197 = Å ( Å )
00C6 198 = Æ ( Æ )
00C7 199 = Ç ( Ç )
00C8 200 = È ( È )
00C9 201 = É ( É )
00CA 202 = Ê ( Ê )
00CB 203 = Ë ( Ë )
00CC 204 = Ì ( Ì )
00CD 205 = Í ( Í )
00CE 206 = Î ( Î )
00CF 207 = Ï ( Ï )
00D0 208 = Ð ( Ð )
00D1 209 = Ñ ( Ñ )
00D2 210 = Ò ( Ò )
00D3 211 = Ó ( Ó )
00D4 212 = Ô ( Ô )
00D5 213 = Õ ( Õ )
00D6 214 = Ö ( Ö )
00D7 215 = × ( × )
00D8 216 = Ø ( Ø )
00D9 217 = Ù ( Ù )
00DA 218 = Ú ( Ú )
00DB 219 = Û ( Û )
00DC 220 = Ü ( Ü )
00DD 221 = Ý ( Ý )
00DE 222 = Þ ( Þ )
00DF 223 = ß ( ß )
00E0 224 = à ( à )
00E1 225 = á ( á )
00E2 226 = â ( â )
00E3 227 = ã ( ã )
00E4 228 = ä ( ä )
00E5 229 = å ( å )
00E6 230 = æ ( æ )
00E7 231 = ç ( ç )
00E8 232 = è ( è )
00E9 233 = é ( é )
00EA 234 = ê ( ê )
00EB 235 = ë ( ë )
00EC 236 = ì ( ì )
00ED 237 = í ( í )
00EE 238 = î ( î )
00EF 239 = ï ( ï )
00F0 240 = ð ( ð )
00F1 241 = ñ ( ñ )
00F2 242 = ò ( ò )
00F3 243 = ó ( ó )
00F4 244 = ô ( ô )
00F5 245 = õ ( õ )
00F6 246 = ö ( ö )
00F7 247 = ÷ ( ÷ )
00F8 248 = ø ( ø )
00F9 249 = ù ( ù )
00FA 250 = ú ( ú )
00FB 251 = û ( û )
00FC 252 = ü ( ü )
00FD 253 = ý ( ý )
00FE 254 = þ ( þ )
00FF 255 = ÿ ( ÿ )
Testing some Hebrew letters now:
ש ל ו ם
Okay. And now some links. This is a link to my page: http://wzsn.net/perl/
Same link using A HREF tag: MY PERL SITE
Using TARGET="_blank" to open in new tab: MY PERL SITE
This probable won't work. I will insert this JavaScript program:
<SCRIPT>
<!--
/* Print 256-color palette with JavaScript */
COUNT = 0;
HTML = ["\x3CTABLE CELLSPACING=0 CELLPADDING=6>"];
for (r = 0; r < 6; r++)
{
RED = "00 33 66 99 cc ff".substr(r << 2, 2);
for (g = 0; g < 7; g++)
{
HTML.push("\x3CTR>");
GREEN = "00 33 66 99 cc e8 ff".substr(g << 2, 2);
for (b = 0; b < 6; b++)
{
BLUE = "00 33 66 99 cc ff".substr(b << 2, 2);
HEXCOLOR = RED + GREEN + BLUE;
HTML.push("\x3CTD BGCOLOR='" + HEXCOLOR + "'>\x3CTT>\x3CFONT SIZ
+E=1>" + (COUNT | 256).toString(16).slice(1) + "=" + HEXCOLOR);
COUNT++;
}
}
}
document.write(HTML.join("") + "\x3C/TABLE>");
HTML = 0;
-->
</SCRIPT>
Here we go:
<SCRIPT>
</SCRIPT>
And now the raw output of this script (what it should produce):
00=00000001=00003302=00006603=00009904=0000cc05=0000ff06=00330007=00333308=00336609=0033990a=0033cc0b=0033ff0c=0066000d=0066330e=0066660f=00669910=0066cc11=0066ff12=00990013=00993314=00996615=00999916=0099cc17=0099ff18=00cc0019=00cc331a=00cc661b=00cc991c=00cccc1d=00ccff1e=00e8001f=00e83320=00e86621=00e89922=00e8cc23=00e8ff24=00ff0025=00ff3326=00ff6627=00ff9928=00ffcc29=00ffff2a=3300002b=3300332c=3300662d=3300992e=3300cc2f=3300ff30=33330031=33333332=33336633=33339934=3333cc35=3333ff36=33660037=33663338=33666639=3366993a=3366cc3b=3366ff3c=3399003d=3399333e=3399663f=33999940=3399cc41=3399ff42=33cc0043=33cc3344=33cc6645=33cc9946=33cccc47=33ccff48=33e80049=33e8334a=33e8664b=33e8994c=33e8cc4d=33e8ff4e=33ff004f=33ff3350=33ff6651=33ff9952=33ffcc53=33ffff54=66000055=66003356=66006657=66009958=6600cc59=6600ff5a=6633005b=6633335c=6633665d=6633995e=6633cc5f=6633ff60=66660061=66663362=66666663=66669964=6666cc65=6666ff66=66990067=66993368=669966 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
|