js: Fix wrong encoding in received error messages
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Tue, 24 Jul 2018 12:50:54 +0000 (14:50 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Tue, 24 Jul 2018 12:50:54 +0000 (14:50 +0200)
commit040b1ed40ada7c9ce095dec696406aea730e3766
tree170fd80009432ca9b3ba08b4051f2f9b35a1c3fb
parenta965e3e0b89521ad4f3898a8483161624c2e5848
js: Fix wrong encoding in received error messages

--

* The libgpg error strings arrive in the browser in a different
  encoding than used by browsers. Escaping and then decoding it
  should cover most languages in the supported browsers.
lang/js/src/Connection.js