Replace usages of ASCII with UTF8

This commit is contained in:
Deathmax 2012-01-18 20:56:18 +08:00
parent e879135d21
commit 92996bf738
3 changed files with 6 additions and 6 deletions

View file

@ -69,7 +69,7 @@ namespace TShockAPI.Net
stream.WriteInt32(RockLayer);
stream.WriteInt32(WorldID);
stream.WriteInt8((byte) WorldFlags);
stream.WriteBytes(Encoding.ASCII.GetBytes(WorldName));
stream.WriteBytes(Encoding.UTF8.GetBytes(WorldName));
}
}
}