0

use TDengine.Query(conn, commandText);

It returned intPrt value is not 0, TDengine.Error() show Illegal byte sequence

anyone know how to resolve?

hook capt
  • 135
  • 5

1 Answers1

0

This should happened under windows. This is because in Windows, C# using UFT-16. That means the parameter commandText is in UFT-16. However lib.taos accpet UTF-8 input. You need to change the `commandText in UTF-8.

xiaolei
  • 43
  • 1
  • 6