or any other collection that provides a base directory, the name passed to the mapper will be a relative filename, relative to the base directory.In any other case the absolute filename of the source will be used.
The code used in this tutorial is available on Git Hub simple-django-filter.
This has an encoding specifying how files are encoded.
There are a number of different types of encoding—UTF-8, UTF-16, Cp1252, ISO-8859-1, US-ASCII and (lots of) others.
This is needed because not every file system supports tracking the last modified time to the millisecond level.
This can also be useful if source and target files live on separate machines with clocks being out of sync.