![]() ![]() I've tried various encoding types and conversions to no avail. String convertedStandardOutput = (convertedBytes) Ĭonsole.WriteLine(convertedStandardOutput) If (!string.IsNullOrEmpty(standardOutput))īyte bytes = encoding.GetBytes(standardOutput) īyte convertedBytes = Encoding.Convert(encoding, Encoding.UTF8, bytes) ![]() String errorOutput = errorReader.ReadToEnd() String standardOutput = outputReader.ReadToEnd() ![]() Here's my simplified code sample: class Program I understand that I need to use the /unicode option but all I seem to get back is gibberish. This works ok until the robocopy output contains unicode characters. One action uses robocopy to copy files between folders. Our application runs various actions and displays the output in a log window. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |