apache/spark — pull request #2018 by davies (2014-08-18 18:01:21+00:00)
Title: [SPARK-3103] [PySpark] fix saveAsTextFile() with utf-8

bugfix: It will raise an exception when it try to encode non-ASCII strings into unicode. It should only encode unicode as "utf-8".