Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-219

The behavior of quote char using is not similar as Excel does when the first string contains CJK char(s)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Component/s: Printer
    • Labels:
      None

      Description

      When using CSVFormat.EXCEL to print a CSV file, the behavior of quote char using is not similar as Microsoft Excel does when the first string contains Chinese, Japanese or Korean (CJK) char(s).

      e.g.
      There are 3 data members in a record, with Japanese chars: "あ", "い", "う":
      Microsoft Excel outputs:
      あ,い,う
      Apache Common CSV outputs:
      "あ",い,う

        Attachments

        1. diff.patch
          2 kB
          Zhang Hongda

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hongda Zhang Hongda
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: