diff --git a/lib/agent/providers/network/windows.js b/lib/agent/providers/network/windows.js index d5ca8739e..5c772ea42 100644 --- a/lib/agent/providers/network/windows.js +++ b/lib/agent/providers/network/windows.js @@ -80,10 +80,12 @@ exports.get_access_points_list = function(callback) { parser = 'netsh'; } - exec(cmd, function(err, out) { - if (err) return done(err); - list = exports['parse_access_points_list_' + parser](out); - done(); + exec('chcp 65001', function() { + exec(cmd, function(err, out) { + if (err) return done(err); + list = exports['parse_access_points_list_' + parser](out); + done(); + }) }) };