Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1057

Saving Chinese becomes unreadable string

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 2.11.3
    • API
    • Mac OSX 10.9, MongoDB 2.4.8, java driver 2.11.3

    Description

      read string from a file, the string is readable,
      but after saving to MongoDB, the string became something like this:发生 in fact this is still Chinese, but why it looks like this?

      I tried to use mongo command line to save Chinese, everything is fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jli James Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: