Question

Unicode error in fmeobject4net

  • 27 November 2018
  • 1 reply
  • 0 views

Hi,everybody ,I use the fmeobject4net to process a bit data,and use the c# samples priject code,then some log info is unrecognition charact .the code and the debug info as follow:

 

FMEO_LogCallbackFunc viewInitialized = new FMEO_LogCallbackFunc(LogCallBack);

fmelogfile.SetCallBack(viewInitialized);

 

public void LogCallBack(FMEOMessageLevel severity, String message)

{

 

// Following code to ensure thread safety to avoid the

// InvalidOperationException thrown by VS

// string str = ParseChCodeString(message);

if (this.txtlogbox.InvokeRequired)

{

Invoke(new FMEO_LogCallbackFunc(LogCallBack),

FMEOMessageLevel.Inform,

message);

}

else

{

 

txtlogbox.AppendText(message + Environment.NewLine);

}

}

 

and the output loginfo in my app as follow:

 

and i open the log file, it is right as folow :

 

 

how to resolve the problem? Somebody can help me?thanks


1 reply

Badge +2

Hi @skylining, Unfortunately the screenshots of the log files you tried to post didn't come through. Would you mind trying to attach the actual logfiles instead?

Reply