A bit of encoding can solve this:
Client Side:
message = input("->")
clientSocket.sendto(message.encode('utf-8'), (address, port))
Server Side:
data = s.recv(1024)
modifiedMessage, serverAddress = clientSocket.recvfrom(message.decode('utf-8'))