Thanks Ahzzmandius for fix for overflow in user profile About box or First Life About box when using non-ASCII encodings (bug #769).
parent
93d05b8b1f
commit
3f2ea4f647
|
@ -2994,8 +2994,8 @@ namespace OpenSim.Region.ClientStack
|
||||||
AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData;
|
AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData;
|
||||||
UserProfileData UserProfile = new UserProfileData();
|
UserProfileData UserProfile = new UserProfileData();
|
||||||
UserProfile.UUID = AgentId;
|
UserProfile.UUID = AgentId;
|
||||||
UserProfile.profileAboutText = Util.FieldToString(Properties.AboutText);
|
UserProfile.profileAboutText = Helpers.FieldToUTF8String(Properties.AboutText);
|
||||||
UserProfile.profileFirstText = Util.FieldToString(Properties.FLAboutText);
|
UserProfile.profileFirstText = Helpers.FieldToUTF8String(Properties.FLAboutText);
|
||||||
UserProfile.profileFirstImage = Properties.FLImageID;
|
UserProfile.profileFirstImage = Properties.FLImageID;
|
||||||
UserProfile.profileImage = Properties.ImageID;
|
UserProfile.profileImage = Properties.ImageID;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue