mirror of
https://github.com/opensim/opensim.git
synced 2026-06-07 03:45:42 +08:00
Thanks Ahzzmandius for fix for overflow in user profile About box or First Life About box when using non-ASCII encodings (bug #769).
This commit is contained in:
@@ -2994,8 +2994,8 @@ namespace OpenSim.Region.ClientStack
|
||||
AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData;
|
||||
UserProfileData UserProfile = new UserProfileData();
|
||||
UserProfile.UUID = AgentId;
|
||||
UserProfile.profileAboutText = Util.FieldToString(Properties.AboutText);
|
||||
UserProfile.profileFirstText = Util.FieldToString(Properties.FLAboutText);
|
||||
UserProfile.profileAboutText = Helpers.FieldToUTF8String(Properties.AboutText);
|
||||
UserProfile.profileFirstText = Helpers.FieldToUTF8String(Properties.FLAboutText);
|
||||
UserProfile.profileFirstImage = Properties.FLImageID;
|
||||
UserProfile.profileImage = Properties.ImageID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user