使用ECHO示例输出日志文件乱码

Discussion in 'DIOCP' started by wfy, Dec 26, 2016.

  1. wf

    wfy New Member Member

    Country:
    China
    使用ECHO示例,在Delphi10+Win10下编译,输出日志文件乱码。
    请问是如何处理啊?
     
  2. wf

    wfy New Member Member

    Country:
    China
    我自己处理接收缓存,把lvFileWriter.WriteBuffer(buf, len)修改为lvFileWriter.WriteString('接收数据帧 :'+HexStr);就好了