Replace usages of ASCII with UTF8
This commit is contained in:
parent
e879135d21
commit
92996bf738
3 changed files with 6 additions and 6 deletions
|
|
@ -32,7 +32,7 @@ namespace TShockAPI.Net
|
|||
|
||||
public override void Pack(Stream stream)
|
||||
{
|
||||
stream.WriteBytes(Encoding.ASCII.GetBytes(Reason));
|
||||
stream.WriteBytes(Encoding.UTF8.GetBytes(Reason));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue