CSV Export with special (swiss) latin chars looking bad in CSV

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.5.2
    • Component/s: Tools
    • None
    • Environment:
      on MongoHQ Platform
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Problem:
      We from Switzerland have signs like "Ö", Ü, Ö and those chars are also stored in our fields in our MongoDB

      In our application all works fine with that "special chars". While reading from DB and Saving everything works fine...

      But not in CSV exports.

      I'm exporting my docs successfull to csv over CLI with:
      mongoexport --host xy.mongohq.com --port 10082 --username XY --password XY --db appXY --collection moment --csv --out /Users/millien/Projects/amag/_export/contacts.csv --fields name,email,ip,text,createdAt,isVisible

      In the exported CSV every special sign (Ö,Ä,Ü and others) are replaced with not readable chars like
      Ü = FÌ_nf

      Seems to be an encoding problem.
      Can you help us? Is there a way to set encoding of exports? I didn't find something.

      Thanks and best regards from Switzerland

            Assignee:
            Shaun Verch (Inactive)
            Reporter:
            jackblackch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: