History parameters differently encoded

The history parameters are now encoded using the Daniel encoding
system. This is because for some reasons special characters seem to
mess up otherwise.