Version 1.5.0 has been uploaded. It addresses your issue by extending the chars: command to support escaped characters.
This allows the sending of Unicode characters such as € (e.g. 'chars:\u20AC' will cause the € character to be input on the server machine). '\u00A3' is the pound sign, etc…
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the super fast response and the new version.
Unless I am missing something I can't get it to display the Unicode characters. I have installed version 1.5.0.15174 and I am sending the following syntax:-
For the £ Pound sign - TCPCommand ("chars:\u00A3"); (Output displays - ? in a box in WordPad)
For the € Euro sign - TCPCommand ("chars:\u20AC"); (Output displays - ? in a box in WordPad)
For the " Quotation mark sign - TCPCommand ("chars:\u+0022"); (Output displays - ju+0022 in WordPad)
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have uninstalled version 1.5.0.15174 and manually deleted the Kindel Systems folder from Program Files (Windows 7). I reinstalled but still I am getting the same errors.
I tried this on two different Windows 7 machines.
Strange!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok I have nc.exe open on my networked WIN7 PC when I send the commands in the same manor it displays the same as already reported which is what was expected.
When you say try your test script. Am I correct by putting your syntax (with my remote PC IP address) in notepad and changing the name and extension to test.cmd then double clicking to run it?
If so it opens and closes but nothing is displayed on the networked PC.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having problems sending the following individual text characters:-
£ € "
I can send the $ character ok. I am using the following syntax to send my characters
("chars:$")
Is there a work around to send these characters?
Thanks
I have to implement a fix for this. Watch for it…
Will do….
Many thanks
Version 1.5.0 has been uploaded. It addresses your issue by extending the chars: command to support escaped characters.
This allows the sending of Unicode characters such as € (e.g. 'chars:\u20AC' will cause the € character to be input on the server machine). '\u00A3' is the pound sign, etc…
Hi Charle,
Thank you for the super fast response and the new version.
Unless I am missing something I can't get it to display the Unicode characters. I have installed version 1.5.0.15174 and I am sending the following syntax:-
For the £ Pound sign - TCPCommand ("chars:\u00A3"); (Output displays - ? in a box in WordPad)
For the € Euro sign - TCPCommand ("chars:\u20AC"); (Output displays - ? in a box in WordPad)
For the " Quotation mark sign - TCPCommand ("chars:\u+0022"); (Output displays - ju+0022 in WordPad)
Any ideas?
Oopsy. I didn't actually test my fix all the way! I'll have to look deeper. Sad-panda!
Hmmm… Are you sure 1.5.0 is running. I just tested with this .cmd file:
echo notepad| nc 192.168.0.5 5150 -w 1
echo chars:That will be |nc 192.168.0.5 5150 -w 1
echo chars:\u20AC22.50| nc 192.168.0.5 5150 -w 1
echo chars:!| nc 192.168.0.5 5150 -w 1
and the following was typed into notepad (I tried wordpad too and it worked):
That will be €22.50!
It defiantly says its 1.50.15174 in the about dialog box.
I will uninstall it and manually delete any remaining files then do a reinstall to see if that fixes it.
I think I had an issue like this before were some files were left behind and cause a similar issue now I think of it.
I will let you know the outcome. I am also happy to make a contribution when I have this finished.
Thanks
I have uninstalled version 1.5.0.15174 and manually deleted the Kindel Systems folder from Program Files (Windows 7). I reinstalled but still I am getting the same errors.
I tried this on two different Windows 7 machines.
Strange!
I wonder if it is the program you are using to send the commands. Can you please try my test script (download NetCat)?
It's possible your program is munging the encoded string before sending it over the wire?
Ok I have nc.exe open on my networked WIN7 PC when I send the commands in the same manor it displays the same as already reported which is what was expected.
When you say try your test script. Am I correct by putting your syntax (with my remote PC IP address) in notepad and changing the name and extension to test.cmd then double clicking to run it?
If so it opens and closes but nothing is displayed on the networked PC.
I run the test script locally on the machine running mcecontroller. The IP address is of the local machine.
But it should also work the way you are trying.
What happens if you just type "echo chars:\u20AC| nc 192.168.0.5 5150 -w 1" at the command prompt?
Nothing…
Microsoft Windows
Copyright (C) 2006 Microsoft Corporation. All rights reserved.
C:\>"echo chars:\u20AC| nc 192.168.0.45 5150 -w1"
The filename, directory name, or volume label syntax is incorrect.
remove the quotes.
Sending this from the command prompt (windows Vista) accross the network to (Windows 7) outputs ? in nc.exe screen.
C:\>echo chars:\u20AC| nc 192.168.0.45 5150 -w 1
"in nc.exe" screen?
Do you mean in the MCE Controller log?
Can you post a screenshot?
In notepad I get the Euro symbol disply correctly though!
This is what it looks like for me:
Yes sorry, I'm getting that now….. its displaying ok in MCE Controller and Notepad if I send from the command prompt.
Does that mean there is not fix?
I'm not sure. Tell me more about the program you are using to send commands.
Whatever it is, it seems to be corrupting things. There may be a way of fooling it, but I need to know more.
I have it partially working by adding another **
For the £ Pound sign - TCPCommand ("chars:\\u00A3");
For the € Euro sign - TCPCommand ("chars:\\u20AC");
For the " Quotation mark sign - TCPCommand ("chars:\\u+0022"); (this one is not working!)
I’m using an emulator for a Pronto remote control. It uses Prontoscript which is similar to JavaScript
Sounds like TCPCommand is eating "\". Glad to hear the "\\" work around seems to work.
I take it chars:\\u0022 didn't work? The code I'm using doesn't know how to parse the \u+ format.
I had a fresh look at it again this morning and tried chars:\\u0022 and it works!
How to I send the contribution?
Thanks for your help. It’s much appreciated.
There's a donate button on the main page here on Sourceforge.Or you could write a recommendation. I just do this for fun.