[ Version ( since = "2.10" ) ]
public static string unexpand (string path, bool recode) throws Error
The inverse operation of expand
This function takes a path and tries to substitute the first elements by well-known special identifiers such as for example
${gimp_dir}. The unexpanded path can then be stored in gimprc and other config files.
If recode is true then path is in local filesystem encoding, if recode
is false then path is assumed to be UTF-8.
| path |
a NUL-terminated string |
| recode |
whether |
|
a newly allocated NUL-terminated UTF-8 string |