DecodeFilename(filename) Last updated: 13. Nov 2023

API only function

Decode an encoded filename string by replacing ASCII code representations with symbols (not allowed in filenames). Reverse function of EncodeFilename.

Parameters

Name Type Description
filename string Filename to decode special chars.

Returns

Decoded filename, reverts all symbols in filename.

Example

Code example (JS)

JS is normal JavaScript either running in the browser or on the Docly™ server.
let decodedFilename = docly.decodeFilename(query.file1);