Home | Webstore
Latest News: OOTP 27 Buy Now - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 27 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 22 > OOTP 22 - Technical Support > Bug Reports Forum

Bug Reports Forum Have a bug to report? Please post here.

Reply
 
Thread Tools
Old 04-28-2021, 05:16 PM   #1
lnpgaceta
Minors (Double A)
 
lnpgaceta's Avatar
 
Join Date: Mar 2020
Location: San Juan, PR
Posts: 129
Special characters in league reports

(Whoops, not almanacs—league reports.)

First: very sorry if this has been covered already. I ran through most of the forum last night, but I may have missed a thread.

After OOTP 21 broke the ability to recognize special characters in logo files, this one appears to have some trouble with special characters (accents, tildes, etc.) in player names . . . but only in the reports. (See Screenshot #1.) The accents show up fine in the game.

Everywhere I could find that has a "replace accents" option has it checked—and anyway those are CSV files, not reports. I'm also currently generating an almanac, and they look fine there so far.

Then this morning I noticed that it's even doing that with the "1/2" display for teams that are half a game back, which, frankly, looks pretty silly. (See Screenshot #2.) It is also doing this in the sim. (See Screenshot #3.)

Is there a fix for this that doesn't involve me going and manually removing the accents from each player's names, which I would really rather not have to do, considering the league is set in Puerto Rico?

UPDATE: if this helps, I've been informed that, apparently, adding <meta charset="UTF-8" /> to each HTML file seems to fix the problem, though I have not yet verified it.
Attached Images
Image Image Image 
__________________


Blog: Gaceta de la LNP

Twitch: LNP En Vivo | watch old games
BlueSky: @LNPGaceta
Mastodon: @LNPGaceta on allpro.social
Merch: Tiendita de la LNP

Last edited by lnpgaceta; 04-28-2021 at 05:38 PM. Reason: Accuracy (almanac was incorrect usage) and adding more information
lnpgaceta is offline   Reply With Quote
Old 04-29-2021, 05:58 AM   #2
Lukas Berger
OOTP Developments
 
Lukas Berger's Avatar
 
Join Date: Aug 2007
Location: Nice, Côte d'Azur, France
Posts: 21,976
I don't believe there's a fix for this at the moment, that I know of. Fixing things up with accented characters is defiantly on our to do list. We've actually made quite a few improvements here over the last year or so in the code, but there's still some more to do.
__________________

lukas@ootpdevelopments.com

Pre-Order Out of the Park Baseball 27!

Need to upload files for us to check out? Instructions can be found here
Lukas Berger is offline   Reply With Quote
Old 04-29-2021, 07:00 AM   #3
lnpgaceta
Minors (Double A)
 
lnpgaceta's Avatar
 
Join Date: Mar 2020
Location: San Juan, PR
Posts: 129
Quote:
Originally Posted by Lukas Berger View Post
I don't believe there's a fix for this at the moment, that I know of. Fixing things up with accented characters is defiantly on our to do list. We've actually made quite a few improvements here over the last year or so in the code, but there's still some more to do.
Admittedly, I only just migrated to OOTP 22 a couple days ago. Has this been a problem since 22 came out?

I ask for two reasons: one, my league did not have this issue with reports in OOTP 21, and two, I recently got said league hosted, and that’s how I found out that this was becoming a problem for other people, but it seemed to be of pretty recent vintage—I adduced that it was on the more recent side, but on the other hand, sometimes it takes a while for people to notice.

I have no problem telling people to go check out the almanac instead until the issue is fixed, but considering that takes forever to upload, I can only do it once a week or so.

Lastly, I appreciate your attention to this problem; I know there’s a lot of other stuff to worry about.
__________________


Blog: Gaceta de la LNP

Twitch: LNP En Vivo | watch old games
BlueSky: @LNPGaceta
Mastodon: @LNPGaceta on allpro.social
Merch: Tiendita de la LNP
lnpgaceta is offline   Reply With Quote
Old 04-29-2021, 07:27 AM   #4
Lukas Berger
OOTP Developments
 
Lukas Berger's Avatar
 
Join Date: Aug 2007
Location: Nice, Côte d'Azur, France
Posts: 21,976
Quote:
Originally Posted by lnpgaceta View Post
Admittedly, I only just migrated to OOTP 22 a couple days ago. Has this been a problem since 22 came out?

I ask for two reasons: one, my league did not have this issue with reports in OOTP 21, and two, I recently got said league hosted, and that’s how I found out that this was becoming a problem for other people, but it seemed to be of pretty recent vintage—I adduced that it was on the more recent side, but on the other hand, sometimes it takes a while for people to notice.

I have no problem telling people to go check out the almanac instead until the issue is fixed, but considering that takes forever to upload, I can only do it once a week or so.

Lastly, I appreciate your attention to this problem; I know there’s a lot of other stuff to worry about.
Well, that's a good question actually. I am not sure how long this specific issue has been around, I just know we still do have some weirdness with accented characters crop up from time to time. It might be that this did work in 21 and something broke at some point. Probably no way to really tell until whenever we get a chance to take a closer look at this.
__________________

lukas@ootpdevelopments.com

Pre-Order Out of the Park Baseball 27!

Need to upload files for us to check out? Instructions can be found here
Lukas Berger is offline   Reply With Quote
Old 05-01-2021, 08:20 AM   #5
lnpgaceta
Minors (Double A)
 
lnpgaceta's Avatar
 
Join Date: Mar 2020
Location: San Juan, PR
Posts: 129
Quote:
Originally Posted by Lukas Berger View Post
Well, that's a good question actually. I am not sure how long this specific issue has been around, I just know we still do have some weirdness with accented characters crop up from time to time. It might be that this did work in 21 and something broke at some point. Probably no way to really tell until whenever we get a chance to take a closer look at this.

It gets better—I just updated the almanac overnight, noticed the characters were off again, and went to check.


The same file displays with the special characters just fine on my computer (should be the screenshot on the left), but not when uploaded to the server where I've been hosting it (screenshot top right), which suggested it was a browser-side issue.


So I tried the fix suggested to me—adding <meta charset="UTF-8"> at the start of the file—and it worked. (That's the screenshot on the bottom, which should look almost identical to the one above it, and which is here.) I'm not a super-experienced HTML editor, but I did notice that there's already something in the head of the file that's supposed to do that. Just doesn't seem to be firing.
Attached Images
Image Image Image 
__________________


Blog: Gaceta de la LNP

Twitch: LNP En Vivo | watch old games
BlueSky: @LNPGaceta
Mastodon: @LNPGaceta on allpro.social
Merch: Tiendita de la LNP

Last edited by lnpgaceta; 05-01-2021 at 08:21 AM. Reason: Screenshots are two to a row, how'd I forget that?
lnpgaceta is offline   Reply With Quote
Old 05-05-2021, 10:13 AM   #6
Huckleberry
All Star Reserve
 
Huckleberry's Avatar
 
Join Date: Apr 2003
Posts: 578
Got here from your reply to my post in the cosmetic thread. Thanks for your help, the head_bits.tpl change fixed it for me. But I'm going to start a thread on the "Replace accents" setting for CSV exports not working. As Lukas said, there's quite a bit of work on special characters to be done. I get what's shown in the attached image during report generation.

It's a bit strange that these things used to work and now don't, but I understand unintended consequences with seemingly unrelated coding changes can pop up.
Attached Images
Image 
Huckleberry is offline   Reply With Quote
Old 05-05-2021, 04:58 PM   #7
lnpgaceta
Minors (Double A)
 
lnpgaceta's Avatar
 
Join Date: Mar 2020
Location: San Juan, PR
Posts: 129
Quote:
Originally Posted by Huckleberry View Post
Got here from your reply to my post in the cosmetic thread. Thanks for your help, the head_bits.tpl change fixed it for me. But I'm going to start a thread on the "Replace accents" setting for CSV exports not working. As Lukas said, there's quite a bit of work on special characters to be done. I get what's shown in the attached image during report generation.

It's a bit strange that these things used to work and now don't, but I understand unintended consequences with seemingly unrelated coding changes can pop up.

I noticed that as well, and I'm glad I'm not the only one who did. I know this is very much a minor issue compared to the totality of the game, and maybe it'll turn out to be a much more massive headache than I imagine it is—but at the same time, one of the things I absolutely love about OOTP is the inherent global approach it takes to baseball, so this is very near and dear to my heart.


Glad to hear that helped, though!
__________________


Blog: Gaceta de la LNP

Twitch: LNP En Vivo | watch old games
BlueSky: @LNPGaceta
Mastodon: @LNPGaceta on allpro.social
Merch: Tiendita de la LNP
lnpgaceta is offline   Reply With Quote
Old 05-15-2021, 07:16 PM   #8
Recte44
Global Moderator
 
Recte44's Avatar
 
Join Date: Dec 2001
Location: Oconomowoc, WI
Posts: 2,817
Following, I’m having this issue also


Sent from my iPhone using Tapatalk
__________________
Matt Rectenwald
Commissioner, GM: Las Vegas Hustlers, The Brewster Baseball Association- fictional league (JOIN NOW)
Recte44 is offline   Reply With Quote
Old 05-27-2021, 02:48 PM   #9
Recte44
Global Moderator
 
Recte44's Avatar
 
Join Date: Dec 2001
Location: Oconomowoc, WI
Posts: 2,817
Any chance this will get fixed soon?


Sent from my iPhone using Tapatalk
__________________
Matt Rectenwald
Commissioner, GM: Las Vegas Hustlers, The Brewster Baseball Association- fictional league (JOIN NOW)
Recte44 is offline   Reply With Quote
Old 05-28-2021, 09:53 AM   #10
Lukas Berger
OOTP Developments
 
Lukas Berger's Avatar
 
Join Date: Aug 2007
Location: Nice, Côte d'Azur, France
Posts: 21,976
Quote:
Originally Posted by Recte44 View Post
Any chance this will get fixed soon?


Sent from my iPhone using Tapatalk
I wouldn't think terribly soon, no. It's relatively low priority and we're super busy at the moment, especially Andreas who would likely be the one to have to fix this.
__________________

lukas@ootpdevelopments.com

Pre-Order Out of the Park Baseball 27!

Need to upload files for us to check out? Instructions can be found here
Lukas Berger is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:40 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments