mirror of
https://github.com/fasteddy516/SimplySerial.git
synced 2024-11-24 10:04:35 +00:00
Set serial port encoding to UTF-8
This commit is contained in:
parent
0268c4640f
commit
c3e0fc81bc
@ -201,7 +201,8 @@ namespace SimplySerial
|
||||
ReadTimeout = 1, // minimal timeout - we don't want to wait forever for data that may not be coming!
|
||||
WriteTimeout = 250, // small delay - if we go too small on this it causes System.IO semaphore timeout exceptions
|
||||
DtrEnable = true, // without this we don't ever receive any data
|
||||
RtsEnable = true // without this we don't ever receive any data
|
||||
RtsEnable = true, // without this we don't ever receive any data
|
||||
Encoding = Encoding.UTF8
|
||||
};
|
||||
|
||||
// attempt to set the baud rate, fail if the specified value is not supported by the hardware
|
||||
|
Loading…
Reference in New Issue
Block a user