Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-3097

Unicode names are not supported for Zabbix logs on Windows

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Environment:
      Windows

      Description

      Zabbix should use _wfopen() function to create/open log files on Windows to support unicode names. We can add zbx_fopen() function like it was done with zbx_open():

      int	__zbx_open(const char *pathname, int flags)
      {
      	int	ret;
      	wchar_t	*wpathname;
      
      	wpathname = zbx_utf8_to_unicode(pathname);
      	ret = _wopen(wpathname, flags);
      	zbx_free(wpathname);
      
      	return ret;
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            wiper Andris Zeila
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: