-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathEnDeMenu.txt
2362 lines (2230 loc) · 108 KB
/
EnDeMenu.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# =========================================================================== #
# vi: ts=8:
# vim: ts=8:
#?
#? NAME
#? EnDeMenu.txt - definition of menus
#?
#? SYNOPSIS
#? This file needs to be loaded using XMLHttpRequest and then processed.
#? Or it can be included in the html file directly using:
#? <script class="blind" id="EnDeMenu.txt" type="text/plain" >
#? #< ! [CDATA [
#? ...
#? #] ] >
#? (remove spaces in above CDATA tags).
#?
#? Reading data: EnDeGUI.txt.read('EnDeMenu.txt');
#? Building anonymous objects: EnDeGUI.txt.menu();
#? Building menu object: EnDeGUI.createObj(#name', .....);
#?
#? DESCRIPTION
#? Defines all menus used in EnDe.
#? The definition should be as simple as possible: one line, one entry.
#?
#? SYNTAX
#? all lines starting with # are comments
#? all lines before __DATA line are ignored
#? all lines after __END line are ignored
#? each line consist of TAB seperated columns
#? multiple continous TABs are possible (for formatting),
#? therefor no empty columns are possible (at least a space required)
#? each column contains literal strings, no escaping required
#? 1st column is special keyword used/known in EnDeGUI.txt.menu()
#? 2nd column is a unique key
#? 3rd column is menu text to be displayed
#? 4th column is description used as title text
#? records are grouped with a start line (menu or group keyword)
#? a new start line ends previous record and starts a new one
#?
#? Special Keywords
#? head - ignored (reserverd for later use)
#? menu - defines a (SELECT) menu (--> start line)
#? group - defines a (OPTGROUP) sub-menu (--> start line)
#? item3 - defines 3 columns (i.e one OPTION entry)
#? item4 - defines 4 columns (i.e. one TR entry)
#? hide3 - same as item3, but hidden by default
#? hide4 - same as item4, but hidden by default
#? file - special case of item3 (used in EnDeFile.txt)
#? options - special case of item3 (used in EnDeOpts.txt)
#?
#? use - include a previous defined sub-menu (group)
#?
#? Following keywords are used in EnDeGUI.js (EnDeGUIx.js):
#? valid in group or menu section:
#? disable - to disable a menu or group
#? realCHR - show real character as denoted by its dezimal value which is
#? 2nd word in item3, item4 line
#? valid in group or menu section
#? realUCS - show real character as denoted by its hex value which is 2nd
#? word in item3, item4 line
#? valid in group or menu section
#? showHEX - add characters hex value (0xhhhh) to description text shown
#? title tag; only usefull in conjuction with realCHR, realUCS
#? valid in group or menu section
#? valid menu section:
#? tag - tag to be generated
#? html - alias for tag
#? inside - define parent object ID where this menu should be located
#? style - inline style (CSS) definition for generated object
#? css - alias for style
#? id -
#? name -
#? class - set this tag attribute of generated object to this value
#? onClick - handler to be used for onClick event
#? orientation
#? - horizontal or vertical (only used for tag=BUTTON)
#? for internal use or debugging, valid in all sections:
#? makeID - start generated identifiers at 1
#
# HACKER's INFO
# When using this data inside CDATA element as a HTML comment, the lines
# consisting of continous dashes should be avoided, as some browsers are
# too stupid to parse CDATA as defined in RFC.
#
# ▼ is filled triangle pointing down
#?
#? SEE ALSO
#? EnDeGUIx.js, EnDeGUI.js
#?
#? VERSION
#? @(#) EnDeMenu.txt 3.76 21/02/28 11:25:13
#?
#? AUTHOR
#? 09-jun-09 Achim Hoffmann, mailto: EnDe (at) my (dash) stp (dot) net
#?
# =========================================================================== #
# Note: all tables must be in sync with _charsMapAll above
# =========================================================================== #
# configuration for parser/reader #
# =========================================================================== #
#dbx warn alert
#dbx error exit
warn none
error continue
__DATA
# =========================================================================== #
# some default characters in "Replace Characters Map" #
# =========================================================================== #
#------+---------------+-----------------------+------------------------------+
menu MP.Characters Characters character replacements
html TABLE
inside EnDeDOM.MP.list
id EnDeDOM.MP.Characters.s
size 13
onClick return EnDeGUI.MP.setChar(this,this.value);
# following definitions use \x-escaped hex values,
# default character encoding in EnDe.MP.see must be set to hex, see EnDe.html
# NOTE this menu uses 5 columns, see special handling in EnDeGUI.txt.menu()
#------+---------------+-------+---------------+------------------------------+
#head key old new description
#------+---------------+-------+---------------+------------------------------+
item4 NUL \x00 \x10 replace NUL \0
item4 CR \x13 \x10 replace CR \r
item4 NL \x10 \x10 replace CR \n
item4 TAB \x09 \x10 replace CR \t
#item4 semicolon \x3b \x10 replace ;
#item4 question \x3f \x10 replace ?
#item4 ampersand \x26 \x10 replace &
#item4 equal \x3d :\x09 replace =
#item4 hash \x23 \x10 replace #
#item4 plus \x2b x replace +
#item4 BEL \x06 x replace BEL
item4 DEL \x127 \x10 replace DEL
#------+---------------+-------+---------------+------------------------------+
# =========================================================================== #
# menu for special GUI settings #
# =========================================================================== #
# the browser menu uses the seach string to be passed to the URL in second column
#------+-------+-------+----------------------------------
#head option Browser Description
#------+-------+-------+----------------------------------
group Browser Browser special browser settings
item3 _none_ ------- no special settings; default
#item3 _none_ Flock Flock special settings
#item3 _none_ Mozilla Mozilla 1.x special settings
item3 onClick Konqueror Konqueror special settings
item3 useANCHOR Opera Opera special settings
item3 title Safari Safari special settings
item3 title Shiira Shiira special settings
item3 title iCab iCab special settings
item3 onChange&title Camino Camino special settings
item3 onChange&title Chrome Chrome special settings
item3 title OmniWeb OmniWeb special settings
item3 title Sunrise Sunrise special settings
item3 IE IE IE special settings
#item3 _none_ WebKit WebKit special settings
#------+---------------+-----------------------+------------------------------+
menu BrowserMenu BrowserMenu special browser settings
html SELECT
inside EnDeDOM.GUI.Browser
id EnDeDOM.GUI.Browser.s
size 1
onClick EnDeGUI.quirks(this.value);
use Browser
#------+---------------+---------------+----------------------------------
#head tool text Description
#------+---------------+---------------+----------------------------------
group Only Tool display just one tool
item3 _all_ --default-- show all tools
item3 EnDeDOM.f.CH Character show Character tool only
item3 EnDeDOM.f.ED En-/Decoding show En-/Decoding tool only
item3 EnDeDOM.f.IP IP show IP tool only
item3 EnDeDOM.f.TS Timestamp show Timestamp tool only
item3 EnDeDOM.f.RX RegEx show RegEx tool only
item3 EnDeDOM.f.TST + test also show test tool
item3 EnDeDOM.f.DBX + trace also show trace/debug output
#------+---------------+-----------------------+------------------------------+
menu OnlyMenu OnlyMenu display just one tool
html SELECT
inside EnDeDOM.GUI.Only
id EnDeDOM.GUI.Only.s
size 1
onClick EnDeGUI.tool(this.value);
use Only
# =========================================================================== #
# menus for text manipulations #
# =========================================================================== #
#------+---------------+-----------------------+------------------------------+
#head key text description
#------+---------------+-----------------------+------------------------------+
group TXT.Sample general actions text samples
item3 clear clear clear input field
item3 sample sample fill with sample
#------+---------------+-----------------------+------------------------------+
group TXT.Beautify Beautify make text human readable
item3 splitArg split (parameter) replace & by \n
item3 splitKey split (key=value) replace = by \t
item3 splitDel split (delimiter) replace delimiter by \n
item3 joinArg join (parameter) replace \n by &
item3 joinKey join (key=value) replace \t by =
item3 joinDel join (delimiter) replace \n by delimiter
hide3 JSeval JS eval() evaluate text with JavaScript's eval()
item3 JSDecode JS Decoder decode obfuscated JavaScript
item3 JSFormat JS/JSON Formater simple formatter for packed Json/JavaScript
item3 JSReg JSReg (JavaScript sandbox) evaluate obfuscated JavaScript with JSReg
item3 XMLFormat XML Formater simple formatter for packed XML
item3 toSource .toSource() use built.in .toSource() for formatting
item3 image show as image try to use data as image for IMG tag
item3 statistic show statistic show statistic (character, word, line count)
#------+---------------+-----------------------+------------------------------+
group TXT.Brackets Brackets beautify text with round brackets
intern true
item3 addnl insert \n insert \n after (
item3 delnl remove \n remove \n after (
#------+---------------+-----------------------+------------------------------+
group TXT.Append Append append special characters
intern true
item3 txtAPPnl \n append \n at end of input field
item3 txtAPPcr \r append \r at end of input field
item3 txtAPPht \t append \t at end of input field
item3 txtAPPvt \v append \v at end of input field
item3 txtAPP00 \0 append \0 at end of input field
#------+---------------+-----------------------+------------------------------+
group TXT.Remove Remove delete special characters
intern true
item3 txtDELnl \n delete all \n
item3 txtDELcr \r delete all \r
item3 txtDELht \t delete all \t
item3 txtDELvt \v delete all \v
item3 txtDEL00 \0 delete all \0
item3 txtDELsp space delete all spaces
item3 txtDELsq ' delete all '
item3 txtDELdq " delete all "
item3 txtDELquote " and ' delete all ' and "
item3 txtDELbsnl \\n delete all \ followed by \n
item3 txtDELspbs space\ delete all space followed by \
item3 txtDELbsn "\n" delete all literal \n
item3 txtDELbsr "\r" delete all literal \r
item3 txtDELbssq "\'" delete all literal \'
item3 txtDELbsdq '\"' delete all literal \"
item3 txtDELbssl "\/" delete all literal \/
item3 txtDELbsany "\x" delete all literal \(character) anywhere
item3 txtDELspbs space\ delete all literal space\
item3 txtDELnon7b non-printable ASCII delete all non-printable chars anywhere
item3 txtDELnon7bn non-printable ASCII\n delete non-printable chars (except \t, \r, \n) anywhere
item3 txtDELnon128 non-7-Bit ASCII delete characters > chr(127) anywhere
item3 txtDELnon256 non-ASCII delete characters > chr(256) anywhere
item3 txtDELalnum non-alpha-numeric delete all non-alhpanumeric characters
item3 txtDELwhite white space characters delete all characters (space,\t, \r, \n) anywhere
#item3 txtDELascii ascii delete all non-printable characters
# ------^---- not sure how to distinguis from txtDELnon7b
item3 txtDELsgml angle brackets < > delete all < > </ /> <!
item3 txtDELmixed mixed delete all spaces, ", +, \t, \r, \n
item3 txtDELfffx \xfff0..\xffff delete all characters \xfff0..\xffff
#------+---------------+-----------------------+------------------------------+
group TXT.Insert Insert insert special characters
intern true
item3 txtINSnl \n insert \n at cursor position
item3 txtINScr \r insert \r at cursor position
item3 txtINSht \t insert \t at cursor position
item3 txtINSvt \v insert \v at cursor position
item3 txtINS00 \0 insert \0 at cursor position
item3 txtINS4sp space 4 insert space after every 4'th character from right
item3 txtINS8sp space 8 insert space after every 8'th character from right
#------+---------------+-----------------------+------------------------------+
group TXT.UCS-ISO insert 1 UCS Character Unicode/ISO-8859-1 mismatch characters sequences
realUCS true
showHEX true
item3 0722 " " prefixed by ISO-8859-1 character
item3 0727 ' ' prefixed by ISO-8859-1 character
item3 072f / / prefixed by ISO-8859-1 character
item3 073c < < prefixed by ISO-8859-1 character
item3 073e > > prefixed by ISO-8859-1 character
item3 075c \ \ prefixed by ISO-8859-1 character
item3 2603 & & postfixed by ISO-8859-1 character
#------+---------------+-----------------------+------------------------------+
group TXT.UCS-UTF insert 2 UCS Characters Unicode/UTF-8 mismatch characters sequences
# // ToDo: following keyword does not yet work in EnDeGUI.txt.create
realUCS true
showHEX true
item3 e9b1 9c5c \ \ prefixed by UTF-8 character
item3 e9b5 9d5d ] ] prefixed by UTF-8 character
item3 ea88 a222 " " prefixed by UTF-8 character
item3 eaa8 aa2a * * prefixed by UTF-8 character
item3 eaa8 af2f / / prefixed by UTF-8 character
item3 eaa4 a525 % % prefixed by UTF-8 character
item3 ea9c a727 ' ' prefixed by UTF-8 character
item3 eaa4 a929 ) ) prefixed by UTF-8 character
item3 eab8 ae2e . . prefixed by UTF-8 character
item3 eba8 ba3a : : prefixed by UTF-8 character
item3 ebac bb3b ; ; prefixed by UTF-8 character
item3 ebb0 bc3c < < prefixed by UTF-8 character
item3 ebb5 bd7d } } prefixed by UTF-8 character
item3 ebb8 be3e > > prefixed by UTF-8 character
#------+---------------+-----------------------+------------------------------+
group TXT.UCS-UTF8 insert 1 UCS to force \ force \-escape leads to mismatch characters sequences
# // ToDo: description needs to be improved
# The trick here is if the application (like PHP's addslashes()) escapes some
# characters by inserting a \ before the character (i.e. " or ').
# Example: bf27 --> bf5c27 which means bf5c a valid UTF-8 charcater then '
# Note: could use b0, b1, .. be too instead of bf
realUCS true
showHEX true
item3 bf22 " " forced prefixed by UTF-8 character
item3 bf27 ' ' forced prefixed by UTF-8 character
item3 bf2f / / forced prefixed by UTF-8 character
item3 bf3c < < forced prefixed by UTF-8 character
item3 bf3e > > forced prefixed by UTF-8 character
item3 bf5c \ \ forced prefixed by UTF-8 character
item3 bf2a * * forced prefixed by UTF-8 character
item3 bf2b + + forced prefixed by UTF-8 character
item3 bf2c , , forced prefixed by UTF-8 character
item3 bf2d - - forced prefixed by UTF-8 character
item3 bf2e . . forced prefixed by UTF-8 character
item3 bf3a : : forced prefixed by UTF-8 character
item3 bf3b ; ; forced prefixed by UTF-8 character
item3 bf3d = = forced prefixed by UTF-8 character
item3 bf5b [ [ forced prefixed by UTF-8 character
item3 bf5d ] ] forced prefixed by UTF-8 character
item3 bf7b { { forced prefixed by UTF-8 character
item3 bf7d } } forced prefixed by UTF-8 character
item3 bf20 space SPACE forced prefixed by UTF-8 character
#------+---------------+-----------------------+------------------------------+
group TXT.UCS-diacrit insert UCS diacritical UTF-8 diacritical characters
realUCS true
showHEX true
item3 0300 ` ` COMBINING GRAVIS
item3 0301 ' ' COMBINING ACUTE
item3 0302 ^ ^ COMBINING CIRCUMFLEX
item3 0303 ~ ~ COMBINING TILDE
item3 0304 - - COMBINING MACRON
item3 0305 - - COMBINING MACRON
item3 0306 u u COMBINING BREVE
item3 0307 ̈ . COMBINING DOT
item3 0308 " " COMBINING DIAERESIS
item3 030b " " COMBINING DOUBLE ACUTE
item3 030c ̌ v COMBINING HATCHECK
item3 0340 ` ` COMBINING GRAVIS (old)
item3 0341 ' ' COMBINING ACUTE (old)
item3 0342 ~ ~ COMBINING TILDE (old)
item3 0354 < < COMBINING LEFT ARROW
item3 0355 > > COMBINING RIGHT ARROW
#------+---------------+-----------------------+------------------------------+
group TXT.UTF-misc insert 2 UCS Characters strange UTF-8 characters sequences
realUCS true
showHEX true
item3 200e LRM LEFT TO RIGHT MARK
item3 200f RLM RIGHT TO LEFT MARK
item3 202a LRE LEFT TO RIGHT EMBEDDING
item3 202b RLE RIGHT TO LEFT EMBEDDING
item3 202c PDF PDF - Pop Directional Formatting
item3 202d LRO LEFT TO RIGHT OVERRIDE
item3 202e RLO RIGHT TO LEFT OVERRIDE
item3 0308 " " COMBINING DIAERESIS
item3 0041 0308 Ä Ä LATIN CAPITAL LETTER A + COMBINING DIAERESIS
item3 0045 0308 Ë Ë LATIN CAPITAL LETTER E + COMBINING DIAERESIS
item3 0049 0308 Ï Ï LATIN CAPITAL LETTER I + COMBINING DIAERESIS
item3 004f 0308 Ö Ö LATIN CAPITAL LETTER O + COMBINING DIAERESIS
item3 0055 0308 Ü Ü LATIN CAPITAL LETTER U + COMBINING DIAERESIS
item3 0059 0308 Ÿ Ÿ LATIN CAPITAL LETTER Y + COMBINING DIAERESIS
item3 0061 0308 ä ä LATIN SMALL LETTER a + COMBINING DIAERESIS
item3 0065 0308 ë ë LATIN SMALL LETTER e + COMBINING DIAERESIS
item3 0069 0308 ï ï LATIN SMALL LETTER i + COMBINING DIAERESIS
item3 006f 0308 ö ö LATIN SMALL LETTER o + COMBINING DIAERESIS
item3 0075 0308 ü ü LATIN SMALL LETTER u + COMBINING DIAERESIS
item3 0079 0308 ÿ ÿ LATIN SMALL LETTER y + COMBINING DIAERESIS
#------+---------------+-----------------------+------------------------------+
group TXT.Replace Replace replace special characters
intern true
item3 txtREPnl \n replace all \n by literal \n
item3 txtREPcr \r replace all \r by literal \r
item3 txtREPht \t replace all \t by literal \t
item3 txtREPvt \v replace all \v by literal \v
item3 txtREP00 \0 replace all \0 by literal \0
item3 txtREPbar | by \n replace all | by \n
item3 txtREPrab \n by | replace all \n by |
item3 txtREPdqsq " by ' replace all " by '
item3 txtREPsqdq ' by " replace all ' by "
item3 txtREPsqbt ' by ` replace all ' by `
item3 txtREPqqqq ' <-> " replace ' by " and " by ' anywhere in text, honor \-escaped quotes
item3 txtREPbsn "\n" replace all literal \n by \n
item3 txtREPbsr "\r" replace all literal \r by \r
item3 txtREPbst "\t" replace all literal \t by \t
item3 txtREPbssq "\'" replace all literal \' by '
item3 txtREPbsdq "\'" replace all literal \" by "
item3 txtREPbssl "\/" replace all literal \/ by /
item3 txtREPbsany "\x" replace all literal \(character) by (character)
item3 txtREPstrdq "+" concatenate strings (remove " + ")
item3 txtREPstrsq '+' concatenate strings (remove ' + ')
item3 txtREPalnum alpha-numeric by space replace all non-alhpanumeric characters by spaces
item3 txtREP2hex non-printable by \xhh replace all non-printable 7-bit ASCII with hex value JavaScript-encoded (\xhh)
item3 txtREP2url non-printable by %hh replace all non-printable 7-bit ASCII with hex value URL-encoded (%hh)
item3 txtREP2ucs non-printable by \uhhhh replace all non-printable 7-bit ASCII with hex value (\uhhhh)
item3 txtREPascii ascii (%hh or %hhhh) replace all non-printable 7-bit ASCII with hex value
item3 txtREP4ucs \uhhhh to character replace all \uhh by corresponding character
item3 txtREP4hex \xhh to character replace all \xhh by corresponding character
item3 txtREP4url %hh or %hh%hh to char replace all %hh or %hh%hh by corresponding character
item3 txtREPsgml angle brackets < > replace all < > </ /> <! by a single space
item3 txtREPuser user replace all characters in input field according replace map
#------+---------------+-----------------------+------------------------------+
group TXT.Spaces Spaces text manipulations from/to spaces
item3 txtREPplus + by space replace all + by space
item3 txtREPplus20 + by %20 replace all + by %20
item3 txtREPspace space by + replace all space by +
item3 txtREPspace20 space by %20 replace all space by %20
item3 txtREP20plus %20 by + replace all %20 by +
item3 txtREP20space %20 by space replace all %20 by space
item3 txtTrimL trim left spaces remove all leading spaces per line
item3 txtTrimR trim right spaces remove all trailing spaces per line
item3 txtTrim trim spaces remove all leading and trailing spaces per line
#------+---------------+-----------------------+------------------------------+
group TXT.Special Special special text manipulations
item3 txtPADsq enclose in ' enclose text in '
item3 txtPADdq enclose in " enclose text in "
item3 txtREPsq remove enclosing ' remove enclosing '
item3 txtREPdq remove enclosing " remove enclosing "
item3 txtREPdouble duplicate \ duplicate all \
item3 txtREPreduce reduce \\ reduce all \\ to \
item3 txtREPpercent reduce %% replace all %% by %
item3 txtXesc convert to \x-escaped convert all hex values to \x-escaped hex values (in Hex tab only)
item3 txtReverse reverse text reverse text
#------+---------------+-----------------------+------------------------------+
#------+---------------+-----------------------+------------------------------+
group TXT.Recursive Recursive recursive encodings
item3 txtRECurl2 %hx -> %%hxhx convert %hx -> %%hxhx
item3 txtRECurl4 %h23x -> %%h23xh23x convert %h23x -> %%h23xh23x
item3 txtRECncrNAME &name; -> &&name;name; convert &name; -> &&name;name;
item3 txtRECncrNUMBER &#dd; -> &&#dd;#dd; convert &#dd; -> &&#dd;#dd;
#------+---------------+-----------------------+------------------------------+
#------+---------------+-----------------------+------------------------------+
group TXT.UTF7 UTF7 codepoints critical UTF7 codepoints
# // ToDo: NOT YET USED
realUCS true
item3 22 " +ACI- is "
item3 27 ' +ACc- is '
item3 3c < +ADw- is <
item3 3e > +AD4- is >
item3 5b [ +AFs- is [
item3 5d ] +AF0- is ]
item3 7b { +AHs- is {
item3 7d } +AH0- is }
item3 7c | +AHw- is |
item3 23 # +ACM- is #
item3 24 $ +ACQ- is $
item3 25 % +ACU- is %
item3 26 & +ACY- is &
item3 28 ( +ACg- is (
item3 29 ) +ACk- is )
item3 2a * +ACo- is *
item3 3b ; +ADs- is ;
item3 3d = +AD0- is =
item3 5c \ +AFw- is \
item3 5e ^ +AF4- is ^
item3 60 ` +AGA- is `
item3 b4 ' +ALQ- is "
item3 2018 ' +IBg- is "
item3 2019 ' +IBk- is "
item3 223e "> +ACIAPg- is ">
item3 2227 3e "'> +ACIAJwA+- is "'>
item3 2227 3e3c "'>< +ACIAPgA8- is "><
#------+---------------+-----------------------+------------------------------+
# =========================================================================== #
# some special menus #
# =========================================================================== #
#------+---------------+-----------------------+------------------------------+
group Numbers Numbers various number conversions
intern true
item3 hexINT hex to integer convert hex (string) value to integer value
item3 hexBIN hex to binary convert hex (string) value to binary value
item3 hexCHR hex to character convert hex (string) value to characters
item3 intHEX integer to hex convert integer (string) value to hex value
item3 intBIN integer to binary convert integer (string) value to binary value
item3 binINT binary to integer convert binary (string) value to integer value
item3 binHEX binary to hex convert binary (string) value to hex value
item3 chrHEX character to hex convert characters to hex (string) value
#------+---------------+-----------------------+------------------------------+
group Characters Characters various character conversions
intern true
item3 ebcdic ASCII convert ASCII to EBCDIC characters
item3 ascii EBCDIC convert EBCDIC to ASCII characters
hide3 a2r to Mac OS Roman convert ASCII to Mac OS Roman characters
hide3 r2a from Mac OS Roman convert Mac OS Roman to ASCII characters
item3 toCP1252 to CP-1252 convert from unicode base to Windows CP-1252 characters
item3 fromCP1252 from CP-1252 convert from Windows CP-1252 to unicode base characters
item3 toDIN66003 to DIN6603 convert ASCII to DIN6603 characters
item3 fromDIN66003 from DIN6603 convert DIN6603 to ASCII characters
item3 hexCHR hex to character convert hex (string) value to characters
item3 chrHEX character to hex convert characters to hex (string) value
#------+---------------+-----------------------+------------------------------+
group Fuzzy Fuzzy decoding various fuzzy decosings
intern true
item3 oct3str Octal using Options octal decodings inside prefix and suffix, delimiter from API Options
item3 dez3str Decimal using Options decimal decodings inside prefix and suffix, delimiter from API Options
item3 hex2str Hex using Options hex decodings inside prefix and suffix, delimiter from API Options
item3 fuzOCTsq \-escaped in ' various \-escaped octal decodings inside ' (single quotes)
item3 fuzOCTdq \-escaped in " various \-escaped octal decodings inside " (double quotes)
item3 fuzUCSsq \u-escaped in ' various \u-escaped Unicode decodings inside ' (single quotes),
item3 fuzUCSdq \u-escaped in " various \u-escaped Unicode decodings inside " (double quotes)
item3 fuzHEXsq \x-escaped in ' various \x-escaped hex decodings inside ' (single quotes),
item3 fuzHEXdq \x-escaped in " various \x-escaped hex decodings inside " (double quotes)
item3 fuzHEXrb \x-escaped in () various \x-escaped hex decodings inside () (round brackets)
item3 fuzHEXsb \x-escaped in [] various \x-escaped hex decodings inside [] (square brackets)
item3 fuz0XXrb 0x-escaped in () various 0x-escaped hex decodings inside () (round brackets)
item3 fuz0XXsb 0x-escaped in [] various 0x-escaped hex decodings inside [] (square brackets)
item3 fuzURLsq %-escaped in ' various %-escaped decodings inside ' (single quotes)
item3 fuzURLdq %-escaped in " various %-escaped decodings inside " (double quotes)
item3 fuzURLrb %-escaped in () various %-escaped decodings inside () (round brackets)
item3 fuzURLsb %-escaped in [] various %-escaped decodings inside [] (square brackets)
item3 fuzNCRsq HTML Entities in ' various HTML Entities decodings inside ' (single quotes)
item3 fuzNCRdq HTML Entities in " various HTML Entities decodings inside " (double quotes)
# some dummy menus, used for [guess] menu only in EN.guess and DE.guess
#------+---------------+-----------------------+------------------------------+
group HEX HEX various hex conversions
item3 hex0 hex dummy
item3 hex1 hex with 1 or 2 digits dummy
item3 hex2 hex with 2 digits dummy
item3 hex3 hex with 3 digits dummy
item3 hex4 hex with 4 digits dummy
item3 hex5 hex with 5 digits dummy
item3 hex6 hex with 6 digits dummy
item3 hex7 hex with 7 digits dummy
item3 urlHEX Hex (%XX) dummy
item3 ncrHEX Hex2 (&#xXX;) dummy
item3 ncrHEX4 Hex4 (&#x00XX;) dummy
#------+---------------+-----------------------+------------------------------+
group DEZ DEZ various decimal conversions
item3 dez0 decimal dummy
item3 dez1 decimal with 1 or 2 digits dummy
item3 dez2 decimal with 2 digits dummy
item3 dez3 decimal with 3 digits dummy
item3 dez4 decimal with 4 digits dummy
item3 dez5 decimal with 5 digits dummy
item3 dez6 decimal with 6 digits dummy
item3 dez7 decimal with 7 digits dummy
item3 ncrDEC Number (&#DD;) dummy
item3 ncrNUM Decimal (&#DD;) dummy
#------+---------------+-----------------------+------------------------------+
group OCT OCT various octal conversions
item3 oct0 octal dummy
item3 oct1 octal with 1 or 2 digits dummy
item3 oct2 octal with 2 digits dummy
item3 oct3 octal with 3 digits dummy
item3 oct4 octal with 4 digits dummy
item3 oct5 octal with 5 digits dummy
item3 oct6 octal with 6 digits dummy
item3 oct7 octal with 7 digits dummy
#------+---------------+-----------------------+------------------------------+
group BIN BIN various binary conversions
item3 bin8 binary 8 bit dummy
item3 bin7 binary 7 bit dummy
item3 bin6 binary 6 bit dummy
# =========================================================================== #
# Encoding #
# =========================================================================== #
#------+---------------+-----------------------+------------------------------+
group EN.URI/URL URI/URL URI/URL encodings
#item3 urlCHR Url (%XX) convert plain text to URL encoded text (meta characters only)
# up to EnDe.js 1.165
item3 urlUTF8 Url UTF-8 (%XX) convert plain text to URL encoded text (none US-ASCII as UTF-8)
item3 urlUTF8c Url UTF-8 (%c2%XX) convert plain text to URL encoded text (none US-ASCII as UTF-8 with leading %c0)
item3 urlUni Url Unicode (%XX%XX) convert plain text to URL encoded text (none US-ASCII as Unicode)
item3 urlHEX Hex (%XX) convert plain text to hexadecimal encoded text (all characters)
item3 urlHEXc Hex (%c0%XX) convert plain text to hexadecimal encoded text (all characters)
item3 urlNibbles Nibbles (%%XX%XX) convert plain text to hexadecimal nibble values (all characters)
item3 urlNibble1 1st Nibble (%%XXh) convert plain text to hexadecimal first nibble (all characters)
item3 urlNibble2 2nd Nibble (%h%XX) convert plain text to hexadecimal second nibble (all characters)
item3 urlUCS Unicode (%uUUUU) convert plain text to unicode encoded text (all characters)
item3 urlPNY Punycode convert plain text to punycode encoded text (URI only)
hide3 urlPNY_ Punycode (all) convert plain text to punycode encoded text (complete text)
item3 urlIDN (xn--)IDN convert plain text to IDN encoded text (URI only)
hide3 urlIDN_ (xn--)IDN (all) convert plain text to IDN encoded text (complete text)
# urlPNY_, urlIDN_ usefull for testing only
#------+---------------+-----------------------+------------------------------+
group EN.HTML-Entity HTML-Entity (NCR) various HTML Entity encodings
item3 ncrNAME Named (&ent;) convert plain text to named HTML Entity (meta characters only)
item3 ncrDEC Number (&#DD;) convert plain text to decimal HTML Entity (meta characters only)
item3 ncrNUM Decimal (&#DD;) convert plain text to decimal HTML Entity (all characters)
item3 ncrHEX Hex2 (&#xXX;) convert plain text to 1 byte hexadecimal HTML Entity (all characters)
item3 ncrHEX4 Hex4 (&#x00XX;) convert plain text to 2 byte hexadecimal HTML Entity (all characters)
item3 ncrWIN 1252 (&MS;) convert plain text to Windows-1252 Western European (CP-1252) HTML Entity (expects Windows-1252 code base)
item3 ncrWINf force 1252 (&MS;) convert plain text to Windows-1252 Western European (CP-1252) HTML Entity (expects Unicode code base)
#------+---------------+-----------------------+------------------------------+
group EN.Unicode/UTF Unicode/UTF various Unicode and UTF encodings
item3 ucsUTF8 UTF-8 convert plain text to UTF-8 encoded text
item3 ucsUTF7 UTF-7 convert plain text to UTF-7 encoded text (convert non-UTF-7 charcters only)
item3 ucsUTF7_ UTF-7 (all) convert plain text to UTF-7 encoded text (convert all characters)
item3 ucsHALFw halfwidth convert fullwidth Unicode to halfwidth Unicode
item3 ucsFULLw fullwidth (UTF-16) convert halfwidth Unicode to fullwidth Unicode (UTF-16, 2 bytes)
item3 ucsFULL8 fullwidth (UTF-8) convert halfwidth Unicode to fullwidth Unicode (UTF-8, 3 bytes)
item3 ucs2Super to superscript convert (halfwidth) Unicode to superscript Unicode
item3 ucs2Sub to subscript convert (halfwidth) Unicode to subscript Unicode
item3 ucsSuper from superscript convert superscript Unicode to (halfwidth) Unicode
item3 ucsSub from subscript convert subscript Unicode to (halfwidth) Unicode
item3 ucsUTF16 UTF-16 convert plain text to Unicode UTF-16 (big endian, no BOM)
item3 ucsUTF8b UTF-8 (BOM) convert plain text to UTF-8 encoded text with BOM
item3 ucs16LEb UTF-16-LE (BOM) convert plain text to Unicode UTF-16 little endian with BOM
item3 ucs16BEb UTF-16-BE (BOM) convert plain text to Unicode UTF-16 big endian with BOM
item3 ucs32LEb UTF-32-LE (BOM) *experimental* convert Unicode UTF-32 little endian with BOM
#------+---------------+-----------------------+------------------------------+
group EN.Base-N Base-N various Base-N encodings
# most common first
item3 base64 Base64 encode to Base64 ([a-zA-Z0-9+/])
item3 base64u Url64 encode to Url64 (modified Base64 for URL, RFC4648)
# in alphabetcal order
item3 base16 Base16 encode to Base16 ([0-9A-F])
item3 base26 Base26 encode to Base26 ([a-z])
item3 base32 Base32 encode to Base32 ([A-Z2-9])
item3 base32c Base32 (Crockford) encode to Crockford's Base32 ([0-9A-HJKMNP-TV-Z])
item3 base32h Base32 Hex encode to Base32hex ([0-9A-V])
item3 base32n Base32 (no vowels) encode to Base32 ([0-9BCDFGHJKLMNPQRSTVWXYZ.])
item3 base32z z-Base32 encode to z-Base32 ([A-UW-Z3-9])
item3 base34 Base34 encode to Base34 ([1-9A-NP-Z])
item3 base36 Base36 encode to Base36 ([a-z0-9])
item3 base52 Base52 encode to Base52 ([a-zA-Z])
item3 base58 Base58 encode to Base58 ([a-zA-Z0-9]) without IOio
item3 base62 Base62 encode to Base62 ([0-9a-zA-Z])
item3 base62x Base62 (alternate) encode to Base62 ([0-9A-Za-z])
item3 base64 Base64 +/ encode to Base64 as in RFC1521, RFC2045, RFC3548, RFC4648
item3 base64b ./ Base64 encode to modified Base64 for bcrypt
item3 base64c ./ Base64 encode to modified Base64 for crypt
item3 base64d +. Base64 encode to modified Base64 for Xxencoding
item3 base64e -. Base64 encode to modified Base64 (Django?)
item3 base64g ./ Base64 encode to modified Base64 for GEDCOM 5.5
item3 base64f Base64 +- encode to modified Base64 for filenames
item3 base64h Base64 @_ encode to modified Base64 for bash
item3 base64i Base64 +, encode to modified Base64 for IMAP, RFC3501
item3 base64j Base64 [] encode to modified Base64 for IRCU
item3 base64p Base64 _- encode to modified Base64 for program identifiers (variant 1)
item3 base64q Base64 ._ encode to modified Base64 for program identifiers (variant 2)
item3 base64r Base64 !- encode to modified Base64 for regular Expressions
item3 base64u Base64 -_ encode to modified Base64 for URL, RFC4648
item3 base64x Base64 .- encode to modified Base64 for XML name tokens
item3 base64y Base64 _: encode to modified Base64 for XML identifiers
item3 base65a .,/ Base65 encode to Base65 ([a-zA-Z0-9.,/])
item3 base65x Base65 ._- encode to Base65 ([a-zA-Z0-9._-])
# same as above, but other name
item3 base64f Url64 (SAP) encode to Url64 (modified Base64 for URL, RFC4648)
hide3 base64old Base64 encode to Base64 ([a-zA-Z0-9+/]) (old algorithm)
hide3 url64 Url64 encode to Url64 (old algorithm)
# experimental implementation
item3 base85 Base85 *experimental* encode to Base85
item3 base89 Base89 *experimental* encode to Base89
item3 base91 basE91 *experimental* encode to basE91
item3 base94 Base94 *experimental* encode to Base94
item3 base95 Base95 *experimental* encode to Base95
#------+---------------+-----------------------+------------------------------+
group EN.Coding Coding various codings
item3 xor XOR XOR (encode) with character from key
item3 uu uuencode uuencode with "`" padding and "====" line
item3 uuhist uuencode (hist) uuencode with space padding and "end" line
#item3 uuuser uuencode (user) uuencode with delimiter for padding
# //ToDo: uuuser disabled 'cause padding does not work proper for some characters
item3 uuraw uuencode (raw) uuencode data, no begin and end line, padding, byte count
item3 qp quoted printable quoted printable (leave CRLF as is)
item3 qpraw quoted printable (raw) quoted printable (asume binary data)
item3 caesar Caesar (classic) encode using classic Caesar (shift 3 characters)
item3 rotN Caesar encode using Caesar (key is number to shift)
item3 rot13 Rot13 encode using rot13 (same as Caesar 13)
item3 yenc yEnc encode using YEncode 1.2
# punycode and IDN disabled, too much problems with some characters
#item3 urlPUNY Punycode convert plain text to punycode encoded text (all characters)
#item3 urlIDN_ IDN (xn--) convert plain text to IDN encoded text (all characters)
hide3 Baudot Baudot convert to Baudot characters
#------+---------------+-----------------------+------------------------------+
group EN.Straight Straight encodings using API Options
item3 hex Hex encode each character to its hex value
item3 dez Decimal encode each character to its decimal value
item3 oct Octal encode each character to its octal value
item3 nibbles Nibbles encode each character to its hex nibble values
item3 nibble1 1st Nibble encode each character with first hex nibble
item3 nibble2 2nd Nibble encode each character with second hex nibble
item3 bin8 8-bit binary encode each character to its 8-bit binary value
item3 bin7 7-bit binary encode each character to its 7-bit binary value
item3 bin6 6-bit binary encode each character to its 6-bit binary value
item3 dualBCD BCD convert each digit to its BCD code (aka deciam dual code, direct dual code, tretraedic code
item3 dual_3 Stibitz convert each digit to its BCD+3 code (aka dreiexzeß code
item3 dualAiken Aiken convert each digit to its Aiken code
item3 JSlc Lower Case convert all character to upper case
item3 JSuc Upper Case convert all character to lower case
item3 reverse reverse return text with characters in opposite order
item3 atbash Atbash return text with characters [a-zA-Z]in opposite order
item3 chr Character split string on charaters and copy as is
item3 copy (copy) copy as is
#------+---------------+-----------------------+------------------------------+
group Encryption Encryption exncryption functions
item3 aes128 AES 128 encrypt with AES 128 bit (escaped data)
item3 aes192 AES 192 encrypt with AES 192 bit (escaped data)
item3 aes256 AES 256 encrypt with AES 256 bit (escaped data)
item3 aes128r AES 128 (raw) encrypt with AES 128 bit (raw data)
item3 aes192r AES 192 (raw) encrypt with AES 192 bit (raw data)
item3 aes256r AES 256 (raw) encrypt with AES 256 bit (raw data)
item3 blowfish Blowfish encrypt with Blowfish
item3 desECBn DES ECB mode, 0 encrypt with (tripple) DES with ECB mode, message padded with 0-bytes (raw data)
item3 desECBp DES ECB mode, PKCS7 encrypt with (tripple) DES with ECB mode, message padded with PKCS7 (raw data)
item3 desECBs DES ECB mode, space encrypt with (tripple) DES with ECB mode, message padded with spaces (raw data)
#item3 desECB0 DES ECB mode, 0/1 encrypt with (tripple) DES with ECB mode, message padded with complement of last bit (raw data)
item3 desECB_ DES ECB mode, none encrypt with (tripple) DES with ECB mode, message without padding (raw data)
item3 desCBCn DES CBC mode, 0 encrypt with (tripple) DES with CBC mode, message padded with 0-bytes (raw data)
item3 desCBCp DES CBC mode, PKCS7 encrypt with (tripple) DES with CBC mode, message padded with PKCS7 (raw data)
item3 desCBCs DES CBC mode, space encrypt with (tripple) DES with CBC mode, message padded with spaces (raw data)
#item3 desCBC0 DES CBC mode, 0/1 encrypt with (tripple) DES with CBC mode, message padded with complement of last bit (raw data)
item3 desCBC_ DES CBC mode, none encrypt with (tripple) DES with CBC mode, message without padding (raw data)
item3 teaesc Block TEA (escaped) encrypt with Block Tiny Encryption Algorithm (aka XXTEA), XXTEA with escaping all non-printable chars
item3 teacor Block TEA (corrected) encrypt with Block Tiny Encryption Algorithm (aka XXTEA), corrected XXTEA with some escaping
item3 tearaw Block TEA (raw) encrypt with Block Tiny Encryption Algorithm (aka XXTEA), original XXTEA without special escaping
#------+---------------+-----------------------+------------------------------+
group EN.Hash/Checksum Hash/Checksum hashing and checksum functions
item3 crc_8 CRC-8 compute CRC-8, return hex data
#item3 crc_10 CRC-10 compute CRC-10, return hex data
#item3 crc_12 CRC-12 compute CRC-12, return hex data
item3 crc_16 CRC-16 compute CRC-16, return hex data
item3 crc_cciitt CRC-16 (CCITT) compute CRC-16 CCIIT, return hex data
item3 crc_32 CRC-32 compute CRC-32, return hex data
item3 crc_user CRC (user) compute CRC using given initial vector, polynomial and output mask, return hex data
# not yet supported
#item3 crc32raw CRC-32 (raw) compute CRC32, return raw data
#item3 crc32hex CRC-32 (hex) compute CRC32, return hex
#item3 crc32b64 CRC-32 (base64) compute CRC32, return base64
#
item3 md4raw MD4 (raw) encode using MD4, return raw data
item3 md4hex MD4 (hex) encode using MD4, return hex
item3 md4b64 MD4 (base64) encode using MD4, return base64
item3 md4hmacraw HMAC MD4 (raw) encode using HMAC MD4, return raw data
item3 md4hmachex HMAC MD4 (hex) encode using HMAC MD4, return hex
item3 md4hmacb64 HMAC MD4 (base64) encode using HMAC MD4, return base64
item3 md5raw MD5 (raw) encode using MD5, return raw data
item3 md5hex MD5 (hex) encode using MD5, return hex
item3 md5b64 MD5 (base64) encode using MD5, return base64
item3 md5hmacraw HMAC MD5 (raw) encode using HMAC MD5, return raw data
item3 md5hmachex HMAC MD5 (hex) encode using HMAC MD5, return hex
item3 md5hmacb64 HMAC MD5 (base64) encode using HMAC MD5, return base64
item3 sha1raw SHA1 (raw) encode using SHA1, return raw data
item3 sha1hex SHA1 (hex) encode using SHA1, return hex
item3 sha1b64 SHA1 (base64) encode using SHA1, return base64
item3 sha1hmacraw HMAC SHA1 (raw) encode using HMAC SHA1, return raw data
item3 sha1hmachex HMAC SHA1 (hex) encode using HMAC SHA1, return hex
item3 sha1hmacb64 HMAC SHA1 (base64) encode using HMAC SHA1, return base64
item3 sha256raw SHA-256 (raw) encode using SHA2 (256), return raw data
item3 sha256hex SHA-256 (hex) encode using SHA2 (256), return hex
item3 sha256b64 SHA-256 (base64) encode using SHA2 (256), return base64
item3 sha384hex SHA-384 (hex) encode using SHA2 (384), return hex
item3 sha512hex SHA-512 (hex) encode using SHA2 (512), return hex
item3 ripemdword RIPEMD-160 (words) calculate one-time password using RIPEMD-160, return words
item3 ripemdhex RIPEMD-160 (hex) calculate one-time password using RIPEMD-160, return hex values
#------+---------------+-----------------------+------------------------------+
group EN.Escape Escape Characters various special character escaping functions
item3 escHTML HTML escape HTML meta characters with numeric HTML Entities
item3 escURL URL escape URL meta characters with URL encoding
item3 escCSS CSS escape CSS meta characters with numeric HTML Entities
item3 escJS JavaScript escape JavaScript meta characters using EnDe's own escape() function
item3 escJSesc escape() escape characters using browser's built-in JavaScript function escape()
item3 escXML XML escape XML meta characters using EnDe's own XMLescape() function
item3 escJava Java escape Java meta characters
hide3 escJavaProp Java properties escape meta characters for Java properties
item3 escSQL SQL escape SQL meta characters
item3 escQuote Quote escape all quotes; prefix with a \
#------+---------------+-----------------------+------------------------------+
group EN.JS/built-in JavaScript built-in JavaScript built-in functions
item3 JSURI encodeURI() encode using browser's built-in function encodeURI()
item3 JSURICom encodeURIComonent() encode using browser's built-in function encodeURIComponent()
item3 JSescape escape() escape characters using browser's built-in function escape()
# btoa not implemented in Safari
item3 JSbtoa btoa() - Base64 encode encode using browser built-in function btoa()
item3 JS2code charCodeAt() convert using browser's JavaScript charCodeAt() function
item3 JS2char fromCharCode() convert using browser's JavaScript fromCharCode() function
item3 JChar java.lang.Character() convert using browser's Java VM java.lang.Character() function
#------+---------------+-----------------------+------------------------------+
group EN.Special Special special encodings
#item3 EnDeSerial serialize serialize JavaScript objects using own serialize() function
item3 b64tou64 Base64 to Url64 convert Base64 to Url64 encoding
item3 u64tob64 Url64 to Base64 convert Url64 to Base64 encoding
item3 viewstate Viewstate compress parsed VIEWSTATE
item3 dumphex xdump-style show in traditional xdump style: hex values left, characters right
item3 dumpODx od-x style (BE) show traditional od -x style: hex values left, characters right (assume big endian)
item3 dumpxDO od-x style (LE) show traditional od -x style: hex values left, characters right (assume little endian)
#------+---------------+-----------------------+------------------------------+
group EN.Symbols Symbols convertion to (ASCII) symbols
item3 SOS Morse convert to Morse characters
hide3 ASCIIBr ASCII Braille convert to ASCII Braille symbols
hide3 dotBr standard Braille convert to standard (dotless) Braille symbols
#item3 braille Braille (Mac OS only) you should learn how disabled people want to feel text
#item3 NumBr Number Braille convert to NUMBRL Braille characters
item3 MathGuard MathGuard digit convert to MathGuard 3x5 matrix (upper case letters only)
item3 matrix3x5 ASCII 3x5 digit convert to 3x5 matrix (variant of MathGuard)
item3 symbol ASCII MxN character convert to MxN matrix
hide3 DadaUrka Dada Urka convert to standard Dada Urka symbols
hide3 Blade Blade convert digits to Blade font (ASCII symbols)
#------+---------------+-----------------------+------------------------------+
menu Encoding Encoding encode with selected function
html ANCHOR
inside EnDeDOM.EN.Actions
id EnDeDOM.EN.Actions.s
size 11
onClick return EnDeGUI.EN.dispatch(this,this.value);
use EN.URI/URL
use EN.HTML-Entity
use EN.Unicode/UTF
use EN.Base-N
use EN.Coding
use EN.Straight
use Numbers
use Characters
use Encryption
use EN.Hash/Checksum
use EN.JS/built-in
use EN.Escape
use EN.Special
use EN.Symbols
use TXT.Beautify
item3 repeat Repeat repeat last action
#------+---------------+-----------------------+------------------------------+
menu EN.Guess guess encoding guess various encodings
html SELECT
inside EnDeDOM.EN.guess
id EnDeDOM.EN.guess.s
size 1
style width:8em;
# local style hack for Opera
onClick return EnDeGUI.EN.dispatch(this,this.value);
use EN.genGuess
# EN.genGuess will be generated from EN.guess (see below) in EnDeGUIx.js
#------+---------------+-----------------------+------------------------------+
menu EN.guess guess use all encodings
# special menu used for EN.Guess menu (to avoid hardcoded list in EnDeGUI.js)
# all keys are used as regex (in EnDeGUI.init()) to match a 'use' key in
# menu 'Encoding' (see above)
#
use ^HEX$
use ^DEZ$
use ^OCT$
use ^EN\.*
use ^Numbers
use ^Characters
use ^Encryption
# // ToDo:
#use ^IP.Dotted dotted IP
#use ^IP.Plain plain values
#use ^Timestamp
#use ^HTTP-Header
#use ^Session-ID
# =========================================================================== #
# Decoding #
# =========================================================================== #
#------+---------------+-----------------------+------------------------------+
group DE.URI/URL URI/URL various URI/URL decodings
item3 urlCHR Url (%XX) convert URL encoded (meta characters only) text to plain text
item3 urlUTF8 Url UTF-8 (%XX) convert URL encoded (none US-ASCII as UTF-8) text to plain text
#item3 urlUTF8c Url UTF-8 (%c2%XX) convert URL encoded (none US-ASCII as UTF-8 with leading %c0) text to plain text
item3 urlUni Url Unicode (%XX%XX) convert URL encoded (none US-ASCII as Unicode) text to plain text
item3 urlHEX Hex (%XX) convert hexadecimal encoded text to plain text (all characters)
item3 urlNibbles Nibbles (%%XX%XX) convert hexadecimal nibble values to plain text (all characters)
item3 urlNibble1 1st Nibble (%%XXh) convert hexadecimal first nibble to plain text (all characters)
item3 urlNibble2 2nd Nibble (%h%XX) convert hexadecimal second nibble to plain text (all characters)
item3 urlUCS Unicode (%uUUUU) convert unicode encoded text to plain text (all characters)
item3 urlPNY Punycode convert punycode encoded text (URI only) to plain text
hide3 urlPNY_ Punycode (all) convert punycode encoded text (complete text) to plain text
item3 urlIDN (xn--)IDN convert IDN encoded text (URI only) to plain text
hide3 urlIDN_ (xn--)IDN (all) convert IDN encoded text (complete text) to plain text
# urlPNY_, urlIDN_ usefull for testing only
#------+---------------+-----------------------+------------------------------+
group DE.HTML-Entity HTML-Entity (NCR) various HTML Entity decodings
item3 ncrNAME Named (&ent;) convert named HTML Entity to plain text (meta characters only)
item3 ncrDEC Number (&#DD;) convert dezimal HTML Entity to HTML Entity (meta characters only)
item3 ncrNUM Decimal (&#DD;) convert all decimal HTML Entity to plain text
item3 ncrNUM0 Decimal (&#DD) convert plain text to decimal HTML Entity (all characters)
item3 ncrHEX Hex2 (&#xXX;) convert 1 byte hexadecimal HTML Entity to plain text (all characters)
item3 ncrHEX4 Hex4 (&#x00XX;) convert 2 byte hexadecimal HTML Entity to plain text (all characters)
item3 ncrWIN 1252 (&MS;) convert Windows-1252 Western European (CP-1252) HTML Entity to plain text (using Windows-1252 code base)
item3 ncrWINf force 1252 (&MS;) convert Windows-1252 Western European (CP-1252) HTML Entity to plain text (using Unicode code base)
#------+---------------+-----------------------+------------------------------+
group DE.Unicode/UTF Unicode/UTF various Unicode and UTF decodings
item3 ucsUTF8 UTF-8 convert UTF-8 encoded text to plain text
item3 ucsUTF7 UTF-7 convert UTF-7 encoded text to plain text
item3 ucsHALFw halfwidth convert fullwidth Unicode to halfwidth Unicode
item3 ucsFULLw fullwidth convert halfwidth Unicode to fullwidth Unicode
item3 ucs2Super to superscript convert (halfwidth) Unicode to superscript Unicode
item3 ucs2Sub to subscript convert (halfwidth) Unicode to subscript Unicode
item3 ucsSuper from superscript convert superscript Unicode to (halfwidth) Unicode
item3 ucsSub from subscript convert subscript Unicode to (halfwidth) Unicode
#------+---------------+-----------------------+------------------------------+
group DE.Base-N Base-N various Base-N decodings
# most common first
item3 base64 Base64 decode from Base64 ([a-zA-Z0-9+/])
item3 base64u Url64 decode from Url64 (modified Base64 for URL, RFC4648)
# in alphabetcal order
item3 base16 Base16 decode from Base16 ([0-9A-F])
item3 base26 Base26 decode from Base26 ([a-z])
item3 base32 Base32 decode from Base32 ([A-Z2-9])
item3 base32c Base32 (Crockford) decode from Crockford's Base32 ([0-9A-HJKMNP-TV-Z])
item3 base32h Base32 Hex decode from Base32hex ([0-9A-V])
item3 base32n Base32 (no vowels) decode from Base32 ([0-9BCDFGHJKLMNPQRSTVWXYZ.])
item3 base32z z-Base32 decode from z-Base32 ([A-UW-Z3-9])
item3 base34 Base34 decode from Base34 ([1-9A-NP-Z])
item3 base36 Base36 decode from Base36 ([a-z0-9])
item3 base52 Base52 decode from Base52 ([a-zA-Z])
item3 base58 Base58 decode from Base58 ([a-zA-Z0-9]) without IOio
item3 base62 Base62 decode from Base62 ([0-9a-zA-Z])
item3 base62x Base62 (alternate) decode from Base62 ([0-9A-Za-z])
item3 base64 Base64 +/ decode from Base64 as in RFC1521, RFC2045, RFC3548, RFC4648
item3 base64b ./ Base64 decode from modified Base64 for bcrypt
item3 base64c ./ Base64 decode from modified Base64 for crypt
item3 base64d +. Base64 decode from modified Base64 for Xxencoding
item3 base64e -. Base64 decode from modified Base64 (Django?)
item3 base64g ./ Base64 decode from modified Base64 for GEDCOM 5.5
item3 base64f Base64 +- decode from modified Base64 for filenames
item3 base64h Base64 @_ decode from modified Base64 for bash
item3 base64i Base64 +, decode from modified Base64 for IMAP, RFC3501
item3 base64j Base64 [] decode from modified Base64 for IRCU
item3 base64p Base64 _- decode from modified Base64 for program identifiers (variant 1)
item3 base64q Base64 ._ decode from modified Base64 for program identifiers (variant 2)
item3 base64r Base64 !- decode from modified Base64 for regular Expressions
item3 base64u Base64 -_ decode from modified Base64 for URL, RFC4648
item3 base64x Base64 .- decode from modified Base64 for XML name tokens
item3 base64y Base64 _: decode from modified Base64 for XML identifiers
item3 base65a .,/ Base65 decode from Base65 ([a-zA-Z0-9.,/])
item3 base65x Base65 ._- decode from Base65 ([a-zA-Z0-9._-])
# same as above, but other name
item3 base64f Url64 (SAP) decode from Url64 (modified Base64 for URL, RFC4648)
hide3 base64old Base64 decode from Base64 ([a-zA-Z0-9+/]) (old algorithm)
hide3 url64 Url64 decode from Url64 (old algorithm)
# experimental
item3 base85 Base85 *experimental* decode from Base85
item3 base89 Base89 *experimental* decode from Base89
item3 base91 basE91 *experimental* decode from basE91
item3 base94 Base94 *experimental* decode from Base94
item3 base95 Base95 *experimental* decode from Base95
#------+---------------+-----------------------+------------------------------+
group DE.Coding Coding various decodings
item3 xor XOR XOR (decode) with character from key
item3 uu uudecode uudecode with "`" for padding
item3 uuhist uuencode (hist) uudecode with " " for padding
#item3 uuuser uuencode (user) uudecode with delimiter for padding
# //ToDo: uuuser disabled 'cause padding does not work proper for some characters
item3 uuraw uuencode (raw) uudecode raw data
item3 qp quoted printable convert quoted printable to plain text
item3 caesar Caesar (classic) encode using classic Caesar (shift 23 characters)
item3 rotN Caesar encode using Caesar (key is number to shift)
item3 rot13 Rot13 encode using rot13 (same as Caesar 13)
item3 yenc yEnc encode using YEncode 1.2
# punycode and IDN disabled, too much problems with some characters