avoid strftime redefined warning
% must be %%
escape unknown chars