Rescue for specific error: ArgumentError(unknown encoding name)