Returning ASCII encoding when ASCII is detected, fixed some incorrect types being used, and included Podspec workaround for silencing warnings about .tab files.