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

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Agent (G)
    • Windows

      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;
      }
      

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

              Created:
              Updated: