Skip to content

Commit

Permalink
Merge pull request #414 from TheCrimsonDevil/patch-1
Browse files Browse the repository at this point in the history
Added Unicode support
  • Loading branch information
NecronomiconCoding authored Jul 24, 2016
2 parents c3a1373 + 59bc40f commit 127c659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PokemonGo.RocketAPI.Console/ConsoleLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public ConsoleLogger(LogLevel maxLogLevel)
/// <param name="color">Optional. Default is auotmatic</param>
public void Write(string message, LogLevel level = LogLevel.Info, ConsoleColor color = ConsoleColor.Black)
{
//Remember to change to a font that supports your language, otherwise it'll still show as ???
System.Console.OutputEncoding = System.Text.Encoding.Unicode;
if (level > _maxLogLevel)
return;

Expand Down

0 comments on commit 127c659

Please sign in to comment.