Added space key to getallpages
Utf-8 encoding