Thanks Ahzzmandius for fix for overflow in user profile About box or First Life About box when using non-ASCII encodings (bug #769).

0.6.0-stable
Jeff Ames 2008-03-19 15:12:48 +00:00
parent 93d05b8b1f
commit 3f2ea4f647
1 changed files with 2 additions and 2 deletions

View File

@ -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;