From b4fef2f404c416f40b1cbfa69ba551f8b22e56dc Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 30 Aug 2013 00:00:35 +0100 Subject: [PATCH] ut2k4server: CharSet fix re-added as is required Re added previously removed CharSet fix that stops odd characters showing on third party server browsers as this is still a problem. Adding the fix will stop the issue --- UnrealTournament2004/ut2k4server | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UnrealTournament2004/ut2k4server b/UnrealTournament2004/ut2k4server index afcd3c29f..4a3823eac 100644 --- a/UnrealTournament2004/ut2k4server +++ b/UnrealTournament2004/ut2k4server @@ -535,6 +535,10 @@ echo "=================================" sed -i 's/none}/none;/g' ${filesdir}/Web/ServerAdmin/ut2003.css sed -i 's/underline}/underline;/g' ${filesdir}/Web/ServerAdmin/ut2003.css sleep 1 + echo "Applying WebAdmin CharSet fix!" + echo "http://forums.tripwireinteractive.com/showpost.php?p=442340&postcount=1" + sed -i 's/CharSet="iso-8859-1"/CharSet="utf-8"/g' ${systemdir}/UWeb.int + sleep 1 echo "Setting WebAdmin username and password" sed -i 's/AdminName=/AdminName=admin/g' ${systemdir}/${ini} sed -i 's/AdminPassword=/AdminPassword=utpass/g' ${systemdir}/${ini}