Fixed issue with multibyte characters not showing up (essential for TEXT mode)
Fixed based on https://github.com/dotcloud/docker/issues/4209