forked from project-jedi/jcl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnicode.dtx
2581 lines (2574 loc) · 92.2 KB
/
Unicode.dtx
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
@@Unicode.Charactertestroutines
<GROUP Unicode>
<TITLE Character test routines>
<TOPICORDER 100>
--------------------------------------------------------------------------------
@@Unicode.Directionality
<GROUP Unicode>
<TITLE Directionality>
<TOPICORDER 200>
--------------------------------------------------------------------------------
@@Unicode.Lowlevelcharacterroutines
<GROUP Unicode>
<TITLE Low level character routines>
<TOPICORDER 300>
--------------------------------------------------------------------------------
@@Unicode.Nullterminatedstrings
<GROUP Unicode>
<TITLE Null terminated strings>
<TOPICORDER 400>
--------------------------------------------------------------------------------
@@Unicode.TSearchEngine
<GROUP Unicode>
<TITLE TSearchEngine>
<TOPICORDER 500>
--------------------------------------------------------------------------------
@@Unicode.TURESearch
<GROUP Unicode>
<TITLE TURESearch>
<TOPICORDER 600>
--------------------------------------------------------------------------------
@@Unicode.TUTBMSearch
<GROUP Unicode>
<TITLE TUTBMSearch>
<TOPICORDER 700>
--------------------------------------------------------------------------------
@@Unicode.TWideStringList
<GROUP Unicode>
<TITLE TWideStringList>
<TOPICORDER 800>
--------------------------------------------------------------------------------
@@Unicode.TWideStrings
<GROUP Unicode>
<TITLE TWideStrings>
<TOPICORDER 900>
--------------------------------------------------------------------------------
@@Unicode.Utilityfunctions
<GROUP Unicode>
<TITLE Utility functions>
<TOPICORDER 1000>
--------------------------------------------------------------------------------
@@Unicode.WideStringconversionroutines
<GROUP Unicode>
<TITLE WideString conversion routines>
<TOPICORDER 1100>
--------------------------------------------------------------------------------
@@Unicode.WideStringroutines
<GROUP Unicode>
<TITLE WideString routines>
<TOPICORDER 1200>
--------------------------------------------------------------------------------
@@UnicodeIsAlpha
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is an alphabetic character.
Description:
UnicodeIsAlpha tests whether the specified unicode codepoint is an alphabetic
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is an alphabetical character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsDigit
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a digit.
Description:
UnicodeIsDigit tests whether the specified unicode codepoint is a digit.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a digit the function returns True, otherwise
the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsAlphaNum
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is an alphanumerical character.
Description:
UnicodeIsAlphaNum tests whether the specified unicode codepoint is an alphanumerical
character. That is, it tests for both alphabetical characters and numbers.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is an alphanumerical character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsControl
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a control character.
Description:
UnicodeIsControl tests whether the specified unicode codepoint is a control
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a control character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsSpace
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a spacing character.
Description:
UnicodeIsSpace tests whether the specified unicode codepoint is a spacing
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a spacing character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsWhiteSpace
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a white space character.
Description:
UnicodeIsWhiteSpace tests whether the specified unicode codepoint is a white space
character. This is similar to UnicodeIsSpace with the addition of tabulator,
new line and so forth.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a white space character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsBlank
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a space character.
Description:
UnicodeIsBlank tests whether the specified unicode codepoint is a space
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a space character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsPunctuation
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a punctuation mark.
Description:
UnicodeIsPunctuation tests whether the specified unicode codepoint is a punctuation
mark.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a punctuation mark the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsGraph
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a graphical character.
Description:
UnicodeIsGraph tests whether the specified unicode codepoint is a graphical
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a graphical character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsPrintable
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a printable character.
Description:
UnicodeIsPrintable tests whether the specified unicode codepoint is a printable
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a printable character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsUpper
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is uppercase.
Description:
UnicodeIsUpper tests whether the specified unicode codepoint is an uppercase
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is an uppercase character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsLower
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is lowercase.
Description:
UnicodeIsLower tests whether the specified unicode codepoint is a lowercase
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a lowercase character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsTitle
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a titlecased character.
Description:
UnicodeIsTitle tests whether the specified unicode codepoint is a titlecase
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a titlecased character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsHexDigit
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a hexadecimal digit.
Description:
UnicodeIsHexDigit tests whether the specified unicode codepoint is a hexadecimal digit.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a hexadecimal digit the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsIsoControl
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is an ISO control character.
Description:
UnicodeIsIsoControl tests whether the specified unicode codepoint is an ISO control
character (ordinal value smaller than 32).
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is an ISO control character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsFormatControl
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a format control character.
Description:
UnicodeIsFormatControl tests whether the specified unicode codepoint is a format
control character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a format control character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsSymbol
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a symbol.
Description:
UnicodeIsSymbol tests whether the specified unicode codepoint is a symbol
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a symbol character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsNumber
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a number or digit.
Description:
UnicodeIsNumber tests whether the specified unicode codepoint is a number
or digit.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a number or digit the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsNonSpacing
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is non-spacing.
Description:
UnicodeIsNonSpacing tests whether the specified unicode codepoint is a non-spacing
character.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a non-spacing character the function returns True,
otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsOpenPunctuation
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is an open/left punctuation.
Description:
UnicodeIsOpenPunctuation tests whether the specified unicode codepoint is an open/left
punctuation character. For example '['.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is an open/left punctuation character the function
returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsClosePunctuation
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a closing/right punctuation character.
Description:
UnicodeIsClosePunctuation tests whether the specified unicode codepoint is a closing/right
punctuation character. For example ']'.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a closing/right punctuation character the function
returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsInitialPunctuation
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is an initial punctuation character.
Description:
UnicodeIsInitialPunctuation tests whether the specified unicode codepoint is an initial
punctuation character. For example U+2018 LEFT SINGLE QUOTATION MARK.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is an initial punctuation character the function
returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsFinalPunctuation
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a final punctuation character.
Description:
UnicodeIsFinalPunctuation tests whether the specified unicode codepoint is a final
punctuation control character. For example U+2019 RIGHT SINGLE QUOTATION MARK.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a final punctuation character the function returns
True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsCased
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a cased character.
Description:
UnicodeIsCased tests whether the specified unicode codepoint is a cased
character, i.e. either lower case, title case, upper case or unique upper case.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a cased character the function returns
True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsComposed
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a composite character.
Description:
UnicodeIsComposed tests whether the specified unicode codepoint is a composite
character. That is it returns whether the character can be decomposed into a set
of other characters (eg an ü u umlaut is a composite character).
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a composite character the function returns
True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsQuotationMark
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a quotation mark.
Description:
UnicodeIsQuotationMark tests whether the specified unicode codepoint is a quotation
mark. For example ', " etc.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a quotation mark the function returns
True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsSymmetric
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is symmetric.
Description:
UnicodeIsSymmetric tests whether the specified unicode codepoint is a symmetric
character. That is, whether it has an opposite form. An example of a symmetric
character is '<' (the opposite would be '>').
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a symmetric character the function returns
True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsMirroring
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a final mirroring character.
Description:
UnicodeIsMirroring tests whether the specified unicode codepoint is a mirroring
character (superset of symmetric).
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a mirroring character the function returns
True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsNonBreaking
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a non breaking character.
Description:
UnicodeIsNonBreaking tests whether the specified unicode codepoint is a non breaking
character, for example a non breaking space.
Parameters:
Code - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a non breaking character the function returns
True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsMark
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a mark of some kind.
Description:
UnicodeIsMark tests whether the specified unicode codepoint is a mark of some
kind.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a mark character the function returns
True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsModifier
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a modifier.
Description:
UnicodeIsModifier tests whether the specified unicode codepoint is a modifier.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a modifier character the function returns
True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsLetterNumber
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a number represented by a letter.
Description:
UnicodeIsLetterNumber tests whether the specified unicode codepoint is a number by a
letter.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a letter character representing a number the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsConnectionPunctuation
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a connection punctuation.
Description:
UnicodeIsConnectionPunctuation tests whether the specified unicode codepoint is
a connection punctuation, for example an underscore.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a connection punctuation character the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsMath
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a math character.
Description:
UnicodeIsMath tests whether the specified unicode codepoint is a math
character, for example a hyphen.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a math character the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsDash
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a dash punctuation.
Description:
UnicodeIsDash tests whether the specified unicode codepoint is a dash
punctuation, for example a plus sign.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a dash punctuation character the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsCurrency
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a currency symbol.
Description:
UnicodeIsCurrency tests whether the specified unicode codepoint is a currency symbol,
for example the dollar sign.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a currency symbol the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsModifierSymbol
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a modifier symbol.
Description:
UnicodeIsModifierSymbol tests whether the specified unicode codepoint is a
modifier symbol, for example the grave accent.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a modifier symbol the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsNonSpacingMark
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a non-spacing mark.
Description:
UnicodeIsNonSpacingMark tests whether the specified unicode codepoint is a
non-spacing mark, for example the combining grave accent.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a non-spacing mark the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsSpacingMark
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a spacing mark.
Description:
UnicodeIsSpacingMark tests whether the specified unicode codepoint is a
spacing mark, for example the Bengali vowel sign AA.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a spacing mark the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsEnclosing
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is enclosing.
Description:
UnicodeIsEnclosing tests whether the specified unicode codepoint is enclosing,
for example the enclosing box.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is enclosing the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsPrivate
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is from the private use area.
Description:
UnicodeIsPrivate tests whether the specified unicode codepoint is from the
private use area.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is from the private use area the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsSurrogate
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is one of the surrogate codes.
Description:
UnicodeIsSurrogate tests whether the specified unicode codepoint is one of the
surrogate codes.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is one of the surrogate codes the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsLineSeparator
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a line separator character.
Description:
UnicodeIsLineSeparator tests whether the specified unicode codepoint is a line
separator character.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a line separator character the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsParagraphSeparator
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a paragraph separator character.
Description:
UnicodeIsParagraphSeparator tests whether the specified unicode codepoint is a
paragraph separator character.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a paragraph separator character the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsIdentifierStart
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is allowed as initial character of an identifier.
Description:
UnicodeIsIdentifierStart tests whether the specified unicode codepoint is a
character that can begin an identifier, ie. the character must be a letter
(upper-, lower- or titlecase or other) or a letter representing a number.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint can begin an identifier the
function returns True, otherwise the function returns False.
Notes:
UnicodeIsIdentifierStart could be replaced by (UnicodeIsAlpha or UnicodeIsLetterNumber) and not UnicodeIsModifier
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsIdentifierPart
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is allowed as part of an identifier.
Description:
UnicodeIsIdentifierPart tests whether the specified unicode codepoint is a
character that can be in an identifier, ie. the character must be a letter
(upper-, lower- or titlecase or other), a letter representing a number,
a mark (non-spacing or spacing combining), a decimal digit, a connecting
punctuation or a format control character.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint can be in an identifier the
function returns True, otherwise the function returns False.
Notes:
UnicodeIsIdentifierPart could be replaced by (UnicodeIsIdentifierStart or UnicodeIsNonSpacingMark or UnicodeIsSpacingMark or UnicodeIsDigit or UnicodeIsConnectionPunctuation or UnicodeIsFormatControl
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsDefined
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is defined.
Description:
UnicodeIsDefined tests whether the specified unicode codepoint is defined (ie.
it appears in one of the data files).
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is defined the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsUndefined
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is undefined.
Description:
UnicodeIsUndefined tests whether the specified unicode codepoint is undefined
(ie. a non-unicode character).
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is undefined the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsHan
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a Han ideograph.
Description:
UnicodeIsHan tests whether the specified unicode codepoint is a Han ideograph.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a Han ideograph the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsHangul
<GROUP Unicode.Charactertestroutines>
Summary:
Tests whether the codepoint is a Hangul syllable.
Description:
UnicodeIsHangul tests whether the specified unicode codepoint is a pre-composed
Hangul syllable.
Parameters:
C - The unicode codepoint (character) to test.
Result:
If the specified codepoint is a Hangul syllable the
function returns True, otherwise the function returns False.
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeNumberLookup
<GROUP Unicode.Lowlevelcharacterroutines>
Summary:
Searches for the given code and returns its number equivalent (if there is one).
Description:
UnicodeNumberLookup searches for the given code and returns its number equivalent
(if there is one). Typical cases are: '1/6' (U+2159), '3/8' (U+215C),
'XII' (U+216B) etc.
Parameters:
Code - The unicode codepoint (character) to locate number equivalent of.
Result:
True if a number could be found.
See also:
UnicodeToUpper
UnicodeToLower
UnicodeToTitle
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeToUpper
<GROUP Unicode.Lowlevelcharacterroutines>
Summary:
Converts a codepoint to uppercase.
Description:
UnicodeToUpper converts the specified unicode codepoint (character) to uppercase.
Parameters:
Code - The codepoint to convert.
Result:
The uppercased codepoint(s).
See also:
UnicodeNumberLookup
UnicodeToLower
UnicodeToTitle
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeToLower
<GROUP Unicode.Lowlevelcharacterroutines>
Summary:
Converts a codepoint to lowercase.
Description:
UnicodeToLower converts the specified unicode codepoint (character) to lowercase.
Parameters:
Code - The codepoint to convert.
Result:
The lowercased codepoint(s).
See also:
UnicodeNumberLookup
UnicodeToUpper
UnicodeToTitle
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeToTitle
<GROUP Unicode.Lowlevelcharacterroutines>
Summary:
Converts a codepoint to title case.
Description:
UnicodeToUpper converts the specified unicode codepoint (character) to title case.
Parameters:
Code - The codepoint to convert.
Result:
The title cased codepoint(s).
See also:
UnicodeNumberLookup
UnicodeToUpper
UnicodeToLower
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsRightToLeft
<GROUP Unicode.Directionality>
Summary:
Tests a Unicode character against right-to-left directionality.
Description:
UnicodeIsRightToLeft returns whether the specified character has (strong) right-to-left
directionality. Examples of characters that have right-to-left directionality
are the Arabic and Hebrew alphabet and punctuation specific to those scripts.
Parameters:
C - The Unicode character to test.
Result:
If the specified unicode character has right-to-left directionality the function
returns True, otherwise the function returns False.
See also:
UnicodeIsLeftToRight
UnicodeIsStrong
UnicodeIsWeak
UnicodeIsNeutral
UnicodeIsSeparator
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsLeftToRight
<GROUP Unicode.Directionality>
Summary:
Tests a Unicode character against left-to-right directionality.
Description:
UnicodeIsLeftToRight returns whether the specified character has (strong) left-to-right
directionality. Most alphabetic and syllabic, as well as all Han ideographic
characters, have left-to-right directionality.
Parameters:
C - The Unicode character to test.
Result:
If the specified unicode character has left-to-right directionality the function
returns True, otherwise the function returns False.
See also:
UnicodeIsRightToLeft
UnicodeIsStrong
UnicodeIsWeak
UnicodeIsNeutral
UnicodeIsSeparator
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsStrong
<GROUP Unicode.Directionality>
Summary:
Tests a Unicode character for strong directionality.
Description:
UnicodeIsStrong returns whether the specified character has strong directionality.
Strong directionality means that it has either left-to-right or right-to-left
directionality. In contrast there are also characters that exhibit weak or neutral
directionality. Examples of characters with strong directionality are the Arabic
and Hebrew alphabets as well as most alphabetic, syllable, and Han ideographic characters.
Parameters:
C - The Unicode character to test.
Result:
If the specified unicode character has strong directionality the function returns
True, otherwise the function returns False.
See also:
UnicodeIsRightToLeft
UnicodeIsLeftToRight
UnicodeIsWeak
UnicodeIsNeutral
UnicodeIsSeparator
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsWeak
<GROUP Unicode.Directionality>
Summary:
Tests a Unicode character for weak directionality.
Description:
UnicodeIsWeak returns whether the specified character has weak directionality.
Examples of characters with weak directionality are numbers and number separators
and terminators. In contrast there are also characters that exhibit strong or neutral
directionality.
Parameters:
C - The Unicode character to test
Result:
If the specified unicode character has weak directionality the function returns
True, otherwise the function returns False.
See also:
UnicodeIsRightToLeft
UnicodeIsLeftToRight
UnicodeIsStrong
UnicodeIsNeutral
UnicodeIsSeparator
Donator:
Mike Lischke
--------------------------------------------------------------------------------
@@UnicodeIsNeutral
<GROUP Unicode.Directionality>
Summary:
Tests a Unicode character for neutral directionality.
Description:
UnicodeIsNeutral returns whether the specified character has neutral directionality.
Examples of characters with neutral directionality are spaces, punctuation and symbols.
In contrast there are also characters that exhibit strong or weak directionality.
Parameters:
C - The Unicode character to test
Result:
If the specified unicode character has neutral directionality the function returns
True, otherwise the function returns False.
See also:
UnicodeIsRightToLeft
UnicodeIsLeftToRight
UnicodeIsStrong
UnicodeIsWeak
UnicodeIsSeparator
Donator:
Mike Lischke
--------------------------------------------------------------------------------