Bump framework version to 3.1 / change encoding to utf-8