Agent and Agent2 inconsistency in symbol replacement when file isn't UTF-8

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • 8.0.0beta1 (master)
    • Affects Version/s: 6.0.43, 7.0.22, 8.0.0alpha1
    • Component/s: Agent2 (G)
    • Sprint candidates

      Issue was found during ZBX-25805 test.

      Steps to reproduce:

      1. Create item with key: logrt["/home/zabbix/japan_jis_coding"]
      2. Create file with encoding Shift_JIS (Japanese) and write some text like this:

        33. お母さんはフレームを洗っていました
        34. お母さんはフレームを洗っていました
        35. ppp お母さんはフレームを洗っていました
        36. ppp お母さんはフレームを洗っていました
        37. ppp ムを洗っていました
        38. お母さんはフレームを洗っていました

      3. Go to Monitoring->Latest data and check this item

      Result:
      In latest data japanese symbols are replaced with question marks '?' for Agent:

      But for Agent2 - with replacement character '�' (black rhombus with question mark):

      Expected:
      For consistency of two agents replacement of symbols should not be different.

            Assignee:
            Michael Veksler
            Reporter:
            Julija Zelezova
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: