E
Eduardo
Hi, I need to send a very simple control string to a device. I have
the proper sequence stored in a file:
[root@blah cgi-bin]# od -bc fiscal2.txt
0000000 015 012 230
\r \n 230
0000003
I'm using perl v5.8.0 on a RH9 machine. When I try to print that
sequence, I get the last octal char converted to what I think is
UTF-16:
[root@blah cgi-bin]# perl -e 'print "\r\n\230"' | od -bc
0000000 015 012 302 230
\r \n 302 230
0000004
Do I need to circumvent UTF-16 locale conversion?
How to get it right? Thank you in advance!
the proper sequence stored in a file:
[root@blah cgi-bin]# od -bc fiscal2.txt
0000000 015 012 230
\r \n 230
0000003
I'm using perl v5.8.0 on a RH9 machine. When I try to print that
sequence, I get the last octal char converted to what I think is
UTF-16:
[root@blah cgi-bin]# perl -e 'print "\r\n\230"' | od -bc
0000000 015 012 302 230
\r \n 302 230
0000004
Do I need to circumvent UTF-16 locale conversion?
How to get it right? Thank you in advance!