Nikita Popov
|
ce91d139b5
|
Make sure match is one character long
|
2021-04-25 21:47:07 +02:00 |
|
Nikita Popov
|
33d7c8d3d8
|
Escape invalid UTF-8 in strings
To be friendlier to tooling that expects PHP files to be UTF-8
encoded, escape any sequences that are not legal under UTF-8.
|
2021-04-25 21:37:01 +02:00 |
|
Nikita Popov
|
6b409b96bb
|
Use hex escaping for special characters in strings
Apart from \0, using the \xHH notation is more typical.
|
2021-04-25 21:22:15 +02:00 |
|
Nikita Popov
|
38aa0920c9
|
Add test for UTF-8 in string
These should not get escaped.
|
2021-03-21 17:03:15 +01:00 |
|
algo13
|
371c783344
|
Escape all low control characters in strings
|
2016-04-19 17:45:39 +02:00 |
|