View Single Post
Old 08-19-2021, 03:31 AM   #5
Andreas Raht
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
Thank you, ronnieh. This is indeed a fix for this problem especially for older leagues or for leagues with custom tpl files, who have an extra folder /templates inside the league folder.
OOTP 22 comes with a template file head_bits.tpl which contains these lines:

PHP Code:
<meta name="content-language" content="en-us">
<
meta name="content-type" content="text/html;charset=UTF-8"

This works for me when testing with spanish and other letters.
If you have problems with those letters, make sure that your file /templates/head_bits.tpl contains that UTF-8 line. Also check your league folder: if there's a sub folder /templates, then this league uses it's own templates and you'll need to update them (if you want to use the default templates which came with OOTP 22, just rename or delete that custom folder).

Last edited by Andreas Raht; 08-19-2021 at 03:32 AM.
Andreas Raht is offline   Reply With Quote