|
|
|
|
|
by simiones
1331 days ago
|
|
There is no such thing as an "escaped string". Escaping is not a general concept, it is something that differs given the intended destination of that string. For example, "I am a %SYSTEM% person" is a perfectly fine escaped bash string, but an unsafe CMD string; it is also fine as a C# format string, but potentially unsafe as a C format string, depending on your actual implementation of printf; it is an escaped MSSQL filter string, but not an escaped PostgresSQL filter string. Also, not all strings/texts should be thought of as Unicode code points/graphemes. |
|
A type that says (say) "this is a string containing html PCDATA" is a useful thing to have.