Hi, as we use utf8 by default, it simply works if you comment out: output = escape(output); escape only works for latin charset, it fails with utf-8 We also don't need utf8-encoding as we use utf8 with 4.5 as default. vg Steffen