From 3f2ea4f647592c1ee899c149c99eff7cb90dab46 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 19 Mar 2008 15:12:48 +0000 Subject: Thanks Ahzzmandius for fix for overflow in user profile About box or First Life About box when using non-ASCII encodings (bug #769). --- OpenSim/Region/ClientStack/ClientView.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index e6ebe0a..3a763c8 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -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; -- cgit v1.1