Show
added a comment - - edited Thanks Joseph, I've also added SOFT HYPHEN (commonly abbreviated as SHY)
I've added more than one string (10 in total) but all of them based on the same set of characters; they can be accessed though a new class which receives a key and returns a nasty string, storing the key-nastystring mapping for future references (assertions against this values for example) This class can also be reused from phpunit (lib/testing/classes/nasty_strings.php)
List of characters contained in the nasty strings:
< IS, hex: 3c, decimal: 60
IS, hex: 20, decimal: 32
> IS, hex: 3e, decimal: 62
IS, hex: 20, decimal: 32
& IS, hex: 26, decimal: 38
IS, hex: 20, decimal: 32
& IS, hex: 26, decimal: 38
l IS, hex: 6c, decimal: 108
t IS, hex: 74, decimal: 116
; IS, hex: 3b, decimal: 59
IS, hex: 20, decimal: 32
& IS, hex: 26, decimal: 38
g IS, hex: 67, decimal: 103
t IS, hex: 74, decimal: 116
; IS, hex: 3b, decimal: 59
IS, hex: 20, decimal: 32
& IS, hex: 26, decimal: 38
a IS, hex: 61, decimal: 97
m IS, hex: 6d, decimal: 109
p IS, hex: 70, decimal: 112
; IS, hex: 3b, decimal: 59
IS, hex: 20, decimal: 32
' IS, hex: 27, decimal: 39
IS, hex: 20, decimal: 32
\ IS, hex: 5c, decimal: 92
" IS, hex: 22, decimal: 34
IS, hex: 20, decimal: 32
\ IS, hex: 5c, decimal: 92
IS, hex: 20, decimal: 32
' IS, hex: 27, decimal: 39
$ IS, hex: 24, decimal: 36
@ IS, hex: 40, decimal: 64
N IS, hex: 4e, decimal: 78
U IS, hex: 55, decimal: 85
L IS, hex: 4c, decimal: 76
L IS, hex: 4c, decimal: 76
@ IS, hex: 40, decimal: 64
$ IS, hex: 24, decimal: 36
IS, hex: 20, decimal: 32
@ IS, hex: 40, decimal: 64
@ IS, hex: 40, decimal: 64
T IS, hex: 54, decimal: 84
E IS, hex: 45, decimal: 69
S IS, hex: 53, decimal: 83
T IS, hex: 54, decimal: 84
@ IS, hex: 40, decimal: 64
@ IS, hex: 40, decimal: 64
IS, hex: 20, decimal: 32
\ IS, hex: 5c, decimal: 92
\ IS, hex: 5c, decimal: 92
" IS, hex: 22, decimal: 34
IS, hex: 20, decimal: 32
\ IS, hex: 5c, decimal: 92
IS, hex: 20, decimal: 32
, IS, hex: 2c, decimal: 44
IS, hex: 20, decimal: 32
; IS, hex: 3b, decimal: 59
IS, hex: 20, decimal: 32
: IS, hex: 3a, decimal: 58
IS, hex: 20, decimal: 32
. IS, hex: 2e, decimal: 46
IS, hex: c2a0, decimal: 49824
IS, hex: 20, decimal: 32
IS, hex: 20, decimal: 32
日 IS, hex: e697a5, decimal: 15112101
本 IS, hex: e69cac, decimal: 15113388
語 IS, hex: e8aa9e, decimal: 15248030
IS, hex: 20, decimal: 32
IS, hex: c2ad, decimal: 49837
IS, hex: 20, decimal: 32
% IS, hex: 25, decimal: 37
IS, hex: 20, decimal: 32
% IS, hex: 25, decimal: 37
% IS, hex: 25, decimal: 37
IS, hex: 20, decimal: 32

More nastly string suggestsions in this forum thread: https://moodle.org/mod/forum/discuss.php?d=221394