|Problems? Is your data what you think it is?|
Probably easy, but I'm stumped - telnet questionby taigu (Novice)
|on Feb 26, 2014 at 15:07 UTC||Need Help??|
taigu has asked for the
wisdom of the Perl Monks concerning the following question:
This...$telnet->print("65$datastring" . "AO1|AA$password");
...causes some weird box character to precede each print command to a telnet server. Any ideas how it's getting there?
So I'm sending commands to a telnet server (it's Standard Interchange Protocol Version 2...used by public libraries to standardize queries across multiple database flavors). All is well and it is working save for one minor detail - all of my print statements to the telnet object are getting preceded by that annoying box character - the kind that you'd see, for instance, if you tried pasting Thai or Chinese into a textbox expecting English. I have no idea how it's getting there, whether it is an encoding issue, etc. The print lines are pretty simple. See above.