mirror of
https://bitbucket.org/anguist/ntpa
synced 2025-12-08 14:58:42 +00:00
UTF8 support
This commit is contained in:
@ -42,7 +42,7 @@ namespace Ntp.Analyzer.Monitor.Client
|
||||
|
||||
clientSocket.Connect(Server);
|
||||
|
||||
byte[] sendBuffer = Encoding.ASCII.GetBytes(command);
|
||||
byte[] sendBuffer = Encoding.UTF8.GetBytes(command);
|
||||
|
||||
SocketError error;
|
||||
clientSocket.Send(sendBuffer, 0, sendBuffer.Length, SocketFlags.None, out error);
|
||||
|
||||
Reference in New Issue
Block a user