用户名: 密码:
新用户注册
监管者: toedder 
 Computers

Have computer questions, hints, or tips?

BBW's Tips on how to speed up page load the brainking site
Computers (BIG BAD WOLF, 2007-03-12 20:16:01)



adware有什么新的?
讨论板列表
状态: 所有人能发表
帖子搜索:  

7. 七月 2006, 07:57:44
Hrqls 
题目: Re: C# serial port sends only 3F above 7F ?
Hrqls修改(7. 七月 2006, 07:58:10)
Hrqls: i found something!!


By default, SerialPort uses ASCIIEncoding to
encode the characters. ASCIIEncoding encodes all
characters greater then 127 as (char)63 or '?'.
To support additional characters in that range,
set Encoding to UTF8Encoding, UTF32Encoding, or
UnicodeEncoding.


before i open the port i will try

comKAR.Encoding = Encoding.UTF8;

日期和时间
在线的朋友
最喜欢的讨论板
朋友群
每日提示
Copyright © 2002 - 2024 Filip Rachunek, 版权所有
回顶端