Skip to content

Commit

Permalink
Revert "Added peachpie_set_string_encoding()"
Browse files Browse the repository at this point in the history
This reverts commit c3216a4.
  • Loading branch information
kripper committed Nov 16, 2022
1 parent 85f6d7b commit 2808001
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Peachpie.Library/Strings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ internal static CharMap InitializeCharMap()

#endregion

// Helper function to change Console.OutputEncoding from PHP
public static void peachpie_set_string_encoding(string str) {
Console.OutputEncoding = Encoding.GetEncoding(str);
}

#region ord, chr, bin2hex, hex2bin

///// <summary>
Expand Down

0 comments on commit 2808001

Please sign in to comment.