Allow unicode when using PDFTeX
If no \mydate is defined for a document, leave date unset
Allow unicode when using PDFTeX, and if no \mydate is defined for a document, leave date unset

Signed-off-by: Thomas Hodgson <thomas.hodgson@gmail.com>