You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ianhays I'm having the same problem. How can there be no bug here? I can reproduce the following sequence of events:
Start app
Read Console.OutputEncoding. It says its UTF-8
Display output. It does not come out in UTF-8, even though that was reported as the current encoding.
Set the encoding to UTF-8. (I.e. set it to its existing value).
Display output again. Now it does come out in UTF-8.
If setting a property to its existing value changes behavior, how can that not be a bug? (In this the case, the bug is present before the "set", since at that point in the process the getting is returning a value which clearly is not actually being used).
Command prompt on my computer have a 866 (OEM - Russian) encoding, but .NET Core app says it is Unicode (UTF-8).
Source code:
Console output:
The text was updated successfully, but these errors were encountered: