TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Makes a copy of a string replacing C string-style escape sequences with their one byte equivalent:
\b
\f
\n
\r
\t
\v
\
\\
\"
"
GLib.strescape does the reverse conversion.
a string to compress
a newly-allocated copy of source with all escaped character compressed
source
Makes a copy of a string replacing C string-style escape sequences with their one byte equivalent:
\b→ U+0008 Backspace\f→ U+000C Form Feed\n→ U+000A Line Feed\r→ U+000D Carriage Return\t→ U+0009 Horizontal Tabulation\v→ U+000B Vertical Tabulation\followed by one to three octal digits → the numeric value (mod 255)\\will turn into a backslash (\) and\"into a double quote (").GLib.strescape does the reverse conversion.