[ZEPPELIN-2641] Change encoding to UTF-8 when sending request to Livy

Change encoding of the request sent from Zeppelin to Livy to UTF-8. In this way, Zeppelin can support many more language than using ISO-8895-1 by default.

Bug Fix

[ZEPPELIN-2641](https://issues.apache.org/jira/browse/ZEPPELIN-2641)

Build from source.
Open a Livy note book.
Run some simple print command with Chinese or Korean, see whether the return can show the character correctly

before
![image](https://user-images.githubusercontent.com/14201792/27174528-11d45216-51ef-11e7-8f46-2f2e8347a3de.png)

after
![image](https://user-images.githubusercontent.com/14201792/27174517-08cdba04-51ef-11e7-989c-88e516b2d265.png)

* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: 汪赫扬 <qwemicheal@gmail.com>

Closes #2412 from qwemicheal/utf-8 and squashes the following commits:

a72ffeb [汪赫扬] change utf8Str to explicit Chinese
8f144bc [汪赫扬] add unit test
f689a7e [汪赫扬] add utf-8 encoding

(cherry picked from commit f7c47af9b552843f63935a59302de31519ae6b97)
Signed-off-by: Jeff Zhang <zjffdu@apache.org>
2 files changed
tree: 151ddf8aafa705202edb0c3164436a1886ee2efc
  1. .github/
  2. _tools/
  3. alluxio/
  4. angular/
  5. beam/
  6. bigquery/
  7. bin/
  8. cassandra/
  9. conf/
  10. dev/
  11. docs/
  12. elasticsearch/
  13. file/
  14. flink/
  15. geode/
  16. hbase/
  17. helium-dev/
  18. ignite/
  19. interpreter/
  20. jdbc/
  21. kylin/
  22. lens/
  23. licenses/
  24. livy/
  25. markdown/
  26. notebook/
  27. pig/
  28. postgresql/
  29. python/
  30. r/
  31. scalding/
  32. scio/
  33. scripts/
  34. shell/
  35. spark/
  36. spark-dependencies/
  37. testing/
  38. zeppelin-display/
  39. zeppelin-distribution/
  40. zeppelin-examples/
  41. zeppelin-interpreter/
  42. zeppelin-server/
  43. zeppelin-web/
  44. zeppelin-zengine/
  45. .appveyor.yml
  46. .gitignore
  47. .travis.yml
  48. LICENSE
  49. NOTICE
  50. pom.xml
  51. README.md
  52. Roadmap.md
  53. SECURITY-README.md
  54. STYLE.md
  55. travis_check.py
README.md

Apache Zeppelin

Documentation: User Guide
Mailing Lists: User and Dev mailing list
Continuous Integration: Build Status
Contributing: Contribution Guide
Issue Tracker: Jira
License: Apache 2.0

Zeppelin, a web-based notebook that enables interactive data analytics. You can make beautiful data-driven, interactive and collaborative documents with SQL, Scala and more.

Core feature:

  • Web based notebook style editor.
  • Built-in Apache Spark support

To know more about Zeppelin, visit our web site http://zeppelin.apache.org

Getting Started

Install binary package

Please go to install to install Apache Zeppelin from binary package.

Build from source

Please check Build from source to build Zeppelin from source.