You should save the text file with the encoding that the device expects. If "echo" from the shell works, that encoding is likely the terminal's code page, also known as "OEM code page." It's probably CP850 in your case.
Write Umlaute (ä, ü, ö) to serialport
-
30-06-2023 - |
質問
I try to write german umlaute to a serialport. When I do this in the dosshel with
echo öäü > com4
it is working correct.
When I create a txt-file with the content öäü and then do
copy test.txt com4
it is not working. The test.txt is saved as default ANSI Textfile (created with Notepad).
Can somebody help me, what I can change to get the textfile working?
解決
所属していません StackOverflow