Unicode ftp-8 TCP communications

Thanks Jordan, your suggestion led to the solution. I ended up not needing the hex values at all.
I was sending my strings to be printed to a script to turn them into a byte array.
def toBarray(string):
from java.lang import *
from org.python.core.util import StringUtil

#Convert string into a byte array
bArr = StringUtil.toBytes(string) #Read string into byte array
return bArr

I was sending them with the line
bArr = MPERIA.toBarray(msg)
I changed it to this:
bArr = MPERIA.toBarray(bytes(msg))

now it works. It seems strange to need to change a string to bytes before sending it to a script I found that is supposed to make bytes itself but I’m not poking it with a stick.