mhttpd should report UTF-8 encoding

Issue #23 resolved
dd1 created an issue

mhttpd currently reports "iso-8859-1" charset encoding. In this encoding, JSON.Parse() & co corrupt UTF-8 encoded international symbols (this makes international symbols not work in the odb editor). I observe this on MacOS 10.9.1 with google chrome 32.

Since I believe the core of MIDAS and mhttpd are "UTF-8 clean", I think it is safe to make this switch.

But I do not know how this will affect existing experiments that use international characters (German, French special letters)...

K.O.

Comments (3)

  1. Stefan Ritt

    I would say give it a try. To my knowledge nobody uses German umlauts right now, so let's see who complains. Maybe make a central

    #define ENCODING "UTF-8" 
    

    so that it can be changed easily.

  2. Log in to comment